-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sign in with web ui support #54
Comments
Are we talking about signing into Cognito user pools using a third party service? |
Yes, sign in with google, apple, azure... In the amplify library the method is signInWithWebUI.
What does it mean? Is it only available in soto-core? |
You can use the let credentialProvider: CredentialProviderFactory = .cognitoIdentity(
identityPoolId: "my-identiy-pool-id",
identityProvider: .externalIdentityProvider(tokenProvider: { context in
// get identity from service (google, apple etc)
// you'll have to work this bit out for yourself, I don't know the
// details of getting identities from external services
}),
region: .euwest1
)
let awsClient = AWSClient(credentialProvider: credentialProvider) |
Ok, but how do I sign-in with the methods available on soto-core? I don't think it's supported. |
In the public function: I read:
|
Is sign in with web ui (federated sign in) supported? In the amplify library the method is
The text was updated successfully, but these errors were encountered: