I currently have users in my Firebase app. Can I keep my current Firebase auth login pages and still validate against the 8base roles and permissions settings for content, keeping Firebase logged in users in sync with 8base content?
Actually you can!
I wrote an example for you: https://github.com/8base/8base-firebase-auth-example
All you need is configurate openid auth profile at 8base. See screenshot attached.
Let me know, if you have some questions.
Can I just create my own hooks/provider instead? And is this possible without requiring me to pay the $149/month instead of $8?
@tehfailsafe we already know about Gatsby and App Provider issue and going to work on this soon. I will let you know as soon as it be fixed. Thank you for reporting!
You can use any graphql request library.
For authorization you should get idToken from Firebase (https://github.com/8base/8base-firebase-auth-example/blob/master/client/src/authClient.js#L31) and sign up a user in 8base (https://github.com/8base/8base-firebase-auth-example/blob/master/client/src/routes/auth.js#L42). Don’t forget to set authorization header for every graphql request (https://github.com/8base/8base-firebase-auth-example/blob/master/client/src/routes/auth.js#L42).
That’s all you need.
It’s not possible to do it without open id auth profile.
Perfect, thank you @vorobeez I’ll try that this afternoon.
Added some questions directly on the repo