-
Notifications
You must be signed in to change notification settings - Fork 549
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
How to add social (facebook/google etc.) authentication to user pool (not identity pool) without hosted UI? #1434
Comments
Cognito currently doesn't support this but we are in touch with them about adding this functionality so will update as we find out more. |
Any updates on this issue? Forcing a min sdk level of 23 prevents 15% of the Android audience from being able to use any apps that integrate Hosted UI. |
The original issue asked about here is on our roadmap for this year - it sounds like you're asking about a different one though with the min level SDK. |
Thanks for the reply. That's great to know. It was tangential comment about how if we want to use social sign in with Cognito User Pools we have to use Hosted UI which has the min sdk level requirement. |
Gotcha gotcha - yeah we have a separate issue open for that here which we plan to look into soon as well: #471 |
how can I access this sample? https://github.com/awslabs/aws-sdk-android-samples/tree/master/AmazonCognitoAuthDemo |
They changed the branch name so the link is now: https://github.com/awslabs/aws-sdk-android-samples/tree/main/AmazonCognitoAuthDemo |
Any updates on this issue? |
Any updates on this issue?I have been looking for the update on similar issues for more than a year now and none of the issues got an update. |
Link is not working. Any possible demos ? |
Any updates here? |
Any news on this, I would not want to move to firebase and have two different mechanisms |
Hello everybody! Our team is working with the Amazon Cognito team to allow developers to build native social sign in experiences, without using HostedUI. We will provide further updates when we have clarity on our timelines. |
Any updates here? |
I'm sorry that we do not have any updates to provide at this time. Internally, we will continue discussions with the Cognito team to understand if this is a feature on their roadmap. |
Hi,
we're using Cognito userpool to create users (to perform authentication that we use on our BE - so to get access and refresh token) - it's working fine when adding a user with an email but I got stuck when I tried to achieve it with some social provider (e.g. Facebook).
As far as I know, adding a user with some social provider is possible only with HOSTED UI:
https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-social-idp.html
Why?
That's not native for Android - I don't want to launch a browser (or chrome custom tab or webview) to create a user with Facebook. Ideally, I would like to fetch Facebook token with Facebook SDK and pass that token to Cognito to create a user in user pool.
Also, I went through this sample:
https://github.com/awslabs/aws-sdk-android-samples/tree/master/AmazonCognitoAuthDemo
and created auth like this:
But that snippet is just opening an url with chrome custom tabs so - it doesn't look and feel natively and it works only if user has Chrome browser installed...
This issue is almost similar as #370 but that one is old and it was not resolved so I opened a new one.
Please can you answer if what I described is possible or we can take a look at other alternatives like Firebase (or is there a way to hack/fake identity pool to insert a user in user pool after doing
federatedSignIn
?).Thank you in advance
The text was updated successfully, but these errors were encountered: