Decoding a user access token generated by Firebase
Options
Kris Jack
Member ✭
in ? Security
Hello all,
I'm using Firebase for user management and Xano for all other backend functionality.
I am failing to decode a Firebase access token in Xano.
- created function
Security -> JWS Decode
- set the token to a valid token generated by Firebase
- set the key to be an object with path and value found via Firebase (https://www.googleapis.com/robot/v1/metadata/x509/securetoken@system.gserviceaccount.com)
- set the signature_algorithm to be
RS256
When I run the function, it fails, giving the error 'Invalid key format.
'.
Can anyone please help?
Best,
Kris
Tagged:
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