Last active
June 27, 2022 18:19
-
-
Save jwngr/12e73f40285dcc1f887042e64fca8b3c to your computer and use it in GitHub Desktop.
Firebase Auth Tokens
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Token Type | Lifetime | Usage | Generated By | Format | |
---|---|---|---|---|---|
Custom Token | 1 hour | Authenticate Firebase client SDKs | You, via Firebase Admin SDK | JWT | |
ID Token | 1 hour | Authenticate to Firebase services; validate server requests | Firebase | JWT | |
Refresh Token | Long-lived (~1 year) | Generate fresh ID tokens | Firebase | OAuth 2.0 refresh token | |
OAuth Access Token | Varies by provider | Authenticate to third-party identity provider APIs | Third-party identity providers | Varies by provider |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment