Verify Firebase auth token from Xano
Options
We are using Firebase Auth to authenticate our users, but we store all of our data in Xano (yay, Xano!). Inside Xano, I'd like to verify the user's authentication by checking the user's Firebase token. Roughly speaking, that means doing this:
https://firebase.google.com/docs/auth/admin/verify-id-tokens
This requires calling the Firebase Admin SDK to check the user tokens. Is there a way to do this from inside Xano?
Thanks!
https://firebase.google.com/docs/auth/admin/verify-id-tokens
This requires calling the Firebase Admin SDK to check the user tokens. Is there a way to do this from inside Xano?
Thanks!
Comments
-
You need to be able to call an API endpoint, which you can do from the external API request function.
Just out of curiosity, why did you opt to use Firebase Auth over Xano? -
Ah, gotcha. Thanks!
Yeah, we started with Firebase Auth only because we're building a Flutter-based app, and Flutter has great support for it. Since writing this post, we've switched over to Xano auth using passwordless emails with Sendgrid. On the Flutter side, we're using the uni_links package. It's working great!
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback