question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Using a Webview to complete federated login (React Native)

See original GitHub issue

Which 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:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Amplifiyercommented, Jan 3, 2020

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.

0reactions
github-actions[bot]commented, Dec 24, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found