Skip to content
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

Federated identities put into my user pool (React Native) #513

Closed
Soren-Knudsen opened this issue Mar 25, 2018 · 3 comments
Closed

Federated identities put into my user pool (React Native) #513

Soren-Knudsen opened this issue Mar 25, 2018 · 3 comments

Comments

@Soren-Knudsen
Copy link

Soren-Knudsen commented Mar 25, 2018

I'm in the progress of building a React Native app and want to utilize Cognito for handling my users.

Problem:
When a user registers themselves via e.g. Facebook/Google in the app, I also want their information to be put in my User Pool.

What I'm after:
The flow I'm wishing for (which I haven't been able to find documentation for):

  1. I utilize the Facebook SDK in the app and gets their Facebook token.
  2. The token is sent off to Cognito which auth the user and puts them into the user pool.
  3. An access token is sent back.

Question:
It that possible? And if so how?

@mlabieniec
Copy link
Contributor

mlabieniec commented Mar 25, 2018

@Soren-Knudsen, currently our federation support is in React with HOCs and is done with Cognito Federated Identities. We are in the process of building similar native modules for React Native. We are hoping to complete this next sprint which will allow you to do this. It requires native modules in React Native. This feature is tracked in #311, please re-open and clarify if you don't feel that one covers it.

@ganap
Copy link

ganap commented Apr 13, 2018

Any update on the ETA for federated login HOC for React Native?

@github-actions
Copy link

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 *-help channels or Discussions for those types of questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants