Skip to content

Code snippet to show how to verify Firebase ID tokens using Ruby

License

Notifications You must be signed in to change notification settings

soulfly/firebase-id-tokens-verifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Firebase ID Token verifier

Code snippet to show how to verify Firebase ID tokens using Ruby.

FirebaseIDTokenVerifier class holds 2 methods: encode and decode.

The encode method is written just for testing purpose - I have other project where I use this method in my tests to generate a test JWT token and use it in further tests.

The decode method is actually what you need. It helps you to verify your Firebase ID token according to Firebase validation rules: Verify ID tokens using a third-party JWT library

License

MIT

About

Code snippet to show how to verify Firebase ID tokens using Ruby

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages