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!

Comments

  • Michael Udinski
    Michael Udinski Administrator

    ADMIN

    Options
    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!