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.

Amplify React-Native "Parameter 'url' must be a string, not object" with federated sign in

See original GitHub issue

Describe the bug Can’t build app after using connection Facebook via amplify add auth.

To Reproduce Steps to reproduce the behavior:

  1. Follow the installation docs as on: https://aws-amplify.github.io/docs/js/start?ref=amplify-rn-btn&platform=react-native
  2. Run amplify init and amplify add auth (Facebook)
  3. Build the project
  4. See error

Expected behavior Project builds and can use without errors.

Screenshots Screenshot 2019-07-15 at 17 21 37

Smartphone (please complete the following information):

  • Tried on iPhone Xr and X simulator. Latest stable OS and Xcode

Additional context Can’t seem to find anything on the internet related to this issue except from this issue: https://github.com/aws-amplify/amplify-js/issues/3342

But this isn’t solved and the solution in there doesn’t work for me. This made my stuck on implementing AWS amplify now for days already.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
haverchuckcommented, Jul 15, 2019

@rnnyrk Ok, apologies -it looks like we haven’t merged this fix into our primary branch. You could give version 1.1.31-unstable.5 until we are able to do so. I believe this should unblock you.

0reactions
github-actions[bot]commented, Jun 12, 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 AWS Amplify AuthError : Amplify has not been ...
I'm using AWS Amplify library in my react native project with manual configuration to sign in. I'm able to login in android application...
Read more >
Authentication - Social sign-in (OAuth) - JavaScript
Learn how to setup social sign-in providers like Facebook, Google, Amazon, or Sign in with Apple. - JavaScript - AWS Amplify Docs.
Read more >
AuthClass | amplify-js
Parameters · user: CognitoUser | any. The CognitoUser object · oldPassword: string. the current password · newPassword: string. the requested new password ·...
Read more >
Authentication in React with AWS Cognito and Amplify
With a user pool, your users can sign in to your web or mobile app through Amazon Cognito. Your users can also sign...
Read more >
Building a Startup with React Native and AWS Amplify (part 3)
Let's continue working on the React Native mobile app that I am building for the #notJustStartup Challenge. Today we will start working on ......
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