-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I pass the JWT to firebase from wp-auth0 #108
Comments
You will need to hook to the login action go get the user id_token (the user jwt) and call the delegation endpoint with it to exchange for the firebase token (step |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I get that wp-auth authenticates my wp users into my install (and in auth0). What I am missing is instructions on how to pass that info into firebase.
I have followed this tutorial https://www.firebase.com/blog/2014-06-05-auth0-guest-blog.html
I have firebase and auth0 connected via a secret. Howeves, I'm stuck on where it says "obtain the firebase token".
The tricky part is that i'm building an angularjs app on top of wordpress. The app is only available to authenticated wp users so I'm not clear on where and how to obtain the firebase token for my users. Do I do it via this plugin? do I it via the JWT auth0 addon? Should I do it directly in the angular code?
Really appreciate any suggestions or guidance. Happy holidays!
The text was updated successfully, but these errors were encountered: