-
Notifications
You must be signed in to change notification settings - Fork 879
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
Facebook/Google signup to User Pool #993
Comments
Hi @Abeansits , The service API does not currently support this feature. We will let the service team know that you are interested. The Cognito Hosted UI available in the |
Thanks for answering my question @minbi. |
Much needed feature. |
Hello, is there a way to create user in User Pool with auth token from Google without hosted UI? And by the way how it is going with topic's feature development? |
@Softmaker Sorry! we have this feature only with HostedUI. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi, does the assignment mean there might an update on this topic? Many mobile users use the Facebook native app (not the mobile site). Showing the hosted UI means it will likely prompt them for Facebook credentials since they don't have a web session. It makes more sense to do the federation natively between our app and the Facebook app. Cognito Identity Pools support this (registering a user based on their Facebook token), however there are cases where Identity Pool is not suited, e.g. when you require a JWT token instead of AWS credentials. Thanks! |
Hello @rprieto In our Cognito Auth SDK, we recently released support for With this, if you use the Thanks, |
@rohandubal I'm waiting on this feature for Cordova apps, but even if it's not implemented there, if you built a mechanism that solves the issue here, but requires some custom work, please provide details, I'm willing to do whatever it takes to adapt it for Cordova and finally have social auth there. |
I would also need the feature that one can signup a user using facebook token without using the HostedUI, as this might not fit into the applications style. Is there any update planned on this so far? If not, what would be a workaround for now? Using AWS Cognito IdentityPools? |
We are looking at ways to have users sign-in (or sign-up) using their Google or FB login credentials into our iOS (and Android) apps that use Cognito User Pools. We have our own screen for sign-up and sign-in, since the stock ones don't let us customize to our needs. |
Have you found any workaround? Im facing exactly the same problem. Thanks! |
any updates on this, it looks like the only way to register a user in user pool is to use hosted UI |
#1177 take a look on this might help (last entry) |
Any updates on this feature being provided? |
Following up on this issue, we are facing the same problem and would like to have an API option rather than the hosted UI. Thanks in advance! |
It doesn’t work. We tried everything given in the documentation and spent a lot of time on this. The AWS team also tried to help, but couldn’t. The case I mentioned in my post above is not in working state with current Cognito or Amplify codebase. I wish they come out and say that clearly. Don’t trust the docs. Save yourself some time & effort and go with a different solution till AWS team uploads working code sample on GitHub. |
Any update on this? |
This capability would also be useful for integrating with Sign in with Apple |
So the only way to use social sign-ins with User Pools is to use hosted UI? I'm surprised that Amazon didn't create API for a such popular authentication mechanism =\ |
I have the same requirements as OP. Basically the app I am working need to support
Although after working for a while I think it is not hard as expected. It also support you to customize Facebook / Google login button. The hard part relies on configurations, which you can follow these links: Here are my configurations and how I implement the Hosted UI
After the configurations, I simply use
#########
|
This Is exactly the issue I am facing |
Could we get an update please? |
+1 on all the issues mentioned here. I am genuinely surprised Amazon doesn't support that feature already |
Is there anyway to mimic what the HostedUI is doing (via URLs and maybe catching the redirect URL) in our own UI? I've got the same need as the others (Social Identity Provider bound to a given User Pool) Thanks! |
Has there been any movement on this at all? IOS 14 is out, and apple-sign in is required if you want to use any other social logins. HostedUI is simply not a reasonable UX for our app. |
Is there any update on this ticket? Do we have any way to create an instance on user pool on using federated social sign in? |
Any update on this? |
Facing same issue here |
Marking this as a duplicate to #1937 . We will update the related ticket when we get more information. |
To help us solve your problem better, please answer the following list of questions.
What service are you using?
Cognito
In what version of SDK are you facing the problem?
2.6.22
Is the issue limited to Simulators / Actual Devices?
No
Can your problem be resolved if you bump to a higher version of SDK?
No
Is this problem related to specific iOS version?
No
How are you consuming the SDK? CocoaPods / Carthage / Prebuilt frameworks?
Carthage
Can you give us steps to reproduce with a minimal, complete, and verifiable example? Please include any specific network conditions that might be required to reproduce the problem.
N/A
If you need help with understanding how to implement something in particular then we suggest that you first look into our developer guide. You can also simplify your process of creating an application by using Mobile Hub.
So this ticket might be a feature request at worst or simple guidance at best.
We use a Cognito User Pool and have in the past integrated with Facebook & Google using external Federated Identities.
We are now in the process of switching to using only the User Pool to signup and login users but would like to still allow for FB & Google login.
So far we have enabled the providers under Federation in the Cognito console and hooked up the FB/G SDK into our iOS project.
When a user logs into FB/G we receive an auth token, how do we go about creating an Cognito user from that auth token?
There seems to be no native API available for us to do that and no documentation mentions this as well. Calling signup on
AWSCognitoIdentityUserPool
requires a password but that is not something we have for a FB/G user.Worth noting is also that we have our own UI for the signup & login flow and would not like to use the stock UI.
The text was updated successfully, but these errors were encountered: