-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Leveraging Already Existing Identity Pool #46
Comments
@KylePalko after configuring the component you can call signin or register methods to signin users, and listen for auth state changes within your app. See here for example code and info: https://aws.github.io/aws-amplify/media/authentication_guide.html |
Hey @mlabieniec, just to confirm, does this sign-in API work with both Identity Pools and User Pools? The reason I ask is because I see I need to either pass in a user/pass combo or a user/auth code, and there isn't an opportunity to feed in my identity pool's Access Token and Identity ID. |
@KylePalko the authentication i.e. signIn, signUp, signOut etc. works specifically with User Pools. I believe what you might be referring to is signup with MFA? That's when you would pass a auth code, which would be after signUp/signIn if you've enabled MFA with the confirmSignIn method and similarly with the confirmSignUp. |
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs. Looking for a help forum? We recommend joining the Amplify Community Discord server |
Hey all,
Love where the project is. The code is very clean (I've been digging through it this afternoon) and well documented. We've just started looking into Amplify and our team was curious as to whether it works with Identity Pools (not just User Pools). If so, can you point me in the right direction to get this working? I noticed in the documentation there is this example:
We already have an Identity Pool with our own authentication, and I'm of course able to get a hold of an Identity ID and Access Token. However, I'm not sure where to go from here (such as, what Object to instantiate and pass the ID/Token into). Any help would be appreciated, thanks!
The text was updated successfully, but these errors were encountered: