Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/soulfly/firebase-id-tokens-verifier
Code snippet to show how to verify Firebase ID tokens using Ruby
https://github.com/soulfly/firebase-id-tokens-verifier
firebase firebase-auth id jwt ruby token
Last synced: 18 days ago
JSON representation
Code snippet to show how to verify Firebase ID tokens using Ruby
- Host: GitHub
- URL: https://github.com/soulfly/firebase-id-tokens-verifier
- Owner: soulfly
- License: mit
- Created: 2017-07-28T07:46:44.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-11T12:35:48.000Z (about 6 years ago)
- Last Synced: 2024-11-26T09:11:55.402Z (29 days ago)
- Topics: firebase, firebase-auth, id, jwt, ruby, token
- Language: Ruby
- Homepage:
- Size: 4.88 KB
- Stars: 32
- Watchers: 3
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://firebase.google.com/docs/auth/admin/verify-id-tokens#verify_id_tokens_using_a_third-party_jwt_library)# License
MIT