Auth0 Home Blog Docs

Firebase integration doesn't work

firebase

#1

I just want to have a way that when a user signs in with auth0 then they can access my firebase database the reason why I choose was firebase was just stupid to not have a way users to sign in with username/password…

but it seems a lot of work to do and after following https://auth0.com/blog/firebase-authentication-with-firebase-3.0-and-auth0-integration/

Nothing works, the example itself doesn’t work when signing up, so it is outdated, im surprised, there is no way around?

my index.html is a simple as https://codeshare.io/5w4nWD

my app.js loos like this https://codeshare.io/5QmnXQ

what im I doing wrong? after login in nothing happens from firebase side, checked if I can use the database to add something and no im not authenticated.


#2

They removed the ability to delegate tokens as of June 2017 for all new accounts. No word yet if you can even use Auth0 and Firebase together anymore. Nobody from Auth0 even responded to your question since July 2nd? Not sure what is going on with Auth0, feels like it’s going down the tubes.


#3

I too have been asking about the firebase integration. The least they could do is warn us. ‘http://auth0.com/oauth/legacy/grant-type/delegation/id_token’ is the legacy grant type that allows delegation which is now longer granted for new clients. They now urge to use oauth/refresh flow which is not possible with SPA.


#4

wrote this article as a possible workaround https://medium.com/@d3l33t/firebase-and-auth0-v8-from-legacy-v7-delegation-b51dcf1b6a4a


#5

So if I’m a new potential auth0 user who absolutely needs firebase integration, I shouldn’t be here it seems…? Seems this lack of support for firebase seems to be a recurring theme. It would be a big shame however, as it would’ve been mega helpful…


#6