Using a Webview to complete federated login (React Native)
See original GitHub issueWhich Category is your question related to?
Auth
What AWS Services are you utilizing?
Cognito
Provide additional details e.g. code snippets
Is it possible to use a Webview to open the federated login pages in a bare (not expo) react native app? Our application has been rejected from the app store because the redirect happens in Safari when we call Auth.federatedSignIn({provider: 'Facebook'})
for example. As an aside my aws-exports.js
file does not have the same structure as suggested in the docs but rather looks like
awsmobile = {
...
oauth: {
...
}
}
Any help would be greatly appreciated!
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:7 (2 by maintainers)
Top Results From Across the Web
React Native: Authentication with WebView
Using the power of web views, mobile applications can wrap login flows and authenticate users without having to rewrite the logic. React Native...
Read more >How to use Cognito Auth service in webview with react-native
I'm using Cognito and social connect (Facebook, Google, and signInWithApple) for users logged into my app. It works fine, but the user is ......
Read more >Webviews and social authentication with React Native
TL;DR: The solution is to implement a communication bridge between the Webview and React Native (via postMessage/onMessage), so when the user clicks on ......
Read more >Setting up AWS Cognito and React Native to enable ...
Previously we looked at how to set up Amazon Cognito User Pools to work with federated Single Sign On (SSO). This is important...
Read more >React Native WebView: A complete guide - LogRocket Blog
For the sake of simplicity, we are going to add our code to the App.js file and we will not create any additional...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
thanks @camin-mccluskey for the update. I’ll let the team know about the Sign in with apple issue and we will look into it as soon as possible.
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.