Hello Im currently authenticating users through a Cognito user pool. However I now need to add support to federated authentication thought Google as well.
I using AWSCognitoIdentityInteractiveAuthenticationDelegate / AWSCognitoIdentityPasswordAuthentication protocols for authentication and this works well with our user pool authentication. However i cant see how i can implement Google in this flow since the completion expects a AWSCognitoIdentityPasswordAuthenticationDetails(username: **, password: **) object to finish auth.
Did a Google signin poc by using AWSGoogleSignIn and AWSSignInDelegate/onLogin to avoid using AWSAuthUI since i need a local custom UI for at-least the username/password UI. But i dont really see how in can retrofit this in to the current sign-in.
Anyone who have any tips as how to best support both these features and which AWS framework to use instead? I rather not rewrite our current implementation if i dont have to, but seams like i need a more generic authentication implementation.