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.

signInSuccessUrl always required

See original GitHub issue

The documentation states that the signInSuccessUrl is only required as follows.

signInSuccessUrl: The URL where to redirect the user after a successful sign-in. Required when the signInSuccess callback is not used or when it returns true.

However this is not the case. Currently by having the signInSuccess callback return false you can ignore the signInSuccessUrl, but it it still required otherwise the following error will be thrown and the signInSuccess function will not be called.

firebase-auth.js:48 Uncaught Error: Configuration signInSuccessUrl is required.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:19 (8 by maintainers)

github_iconTop GitHub Comments

9reactions
oliversissoncommented, Jul 31, 2017

I thought I’d just write the solution to this error “No redirect URL has been found. You must either specify a signInSuccessUrl in the configuration, pass in a redirect URL to the widget URL, or return false from the callback”

All you need to do is return false in the signInSuccess callback

  const uiConfig = {
    callbacks: {
      signInSuccess: () => false,
    },
6reactions
alipetariancommented, Jul 13, 2020

@brandonfajardo I used this way and it worked for me.

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

firebaseui signInSuccess redirect in callback - Stack Overflow
It is populated with the content of signInSuccessUrl query parameter if it appended to the current ... So you need to do something...
Read more >
Easily add sign-in to your Web app with FirebaseUI - Google
In the Firebase console, open the Authentication section and enable email and password authentication. · Add the email provider ID to the list...
Read more >
FirebaseUI for Web — Auth - Firebase Open Source
signInSuccessUrl, No, The URL where to redirect the user after a successful sign-in. Required when the signInSuccessWithAuthResult callback is not used or ...
Read more >
StudyWithMe - firebaseui-web-master - SFU CS Gitlab
Starting the sign-in flow ... You first need to initialize your Firebase app. The firebase.auth.Auth instance should be passed to the constructor of...
Read more >
Getting Started with Firebase for the Web - Authentication
The core Firebase JS SDK is always required and must be listed first --> <script ... signInSuccessUrl: "signedIn", signInOptions: [ firebase.auth.
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