Open BerndWessels opened 5 years ago
@BerndWessels : Thanks for the support of Google/Facebook login.
Moreover, we are using custom identity server authentication with AWS. As described here https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_oidc_manual.html
Should your implementation work with this also? Or It requires further customization?
Hi all here, I've copied this project in a separate package (because this one isn't supported anymore) https://pub.dev/packages/amazon_cognito_identity_dart_2 Welcome to contribute.
Rather than logging in with a Cognito User we want to be able to also login with Google or Facebook.
This can be achieved by logging in with a registered federated identity provider like Google:
Then using the providers identity token to get the Cognito credentials:
Note that
getAwsCredentials
now allows to specify the authenticator as an optional parameter like'accounts.google.com'
.And now we can make all our requests as usual:
This was requested here too