Skip to content

Custom UI Solution Not Found #459

Answered by kmjennison
jamie-legg asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @jamie-legg, what you're looking to do should be pretty easy. This library listens to the Firebase JS SDK for a login. It doesn't care how your login process works as long as the Firebase user is logged in (and Firebase's onIdTokenChanged is triggered). The login UI in the demo is just a handy shortcut but isn't required.

By default, this library automatically handles making the login API call after the user logs in.

For your app, a few things to check:

  • Make sure you init next-firebase-auth and use withAuthUser on the login pages too, where the user will typically be unauthenticated. This will allow this library to respond to the login.
  • Double check the user is successfully signed in…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@jamie-legg
Comment options

@kmjennison
Comment options

@jamie-legg
Comment options

Answer selected by jamie-legg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants