Skip to content

fix: improve token expiration logic to prefer JWT expiry over stale config#10

Merged
anserwaseem merged 2 commits into
mainfrom
issue/5
Jun 22, 2026
Merged

fix: improve token expiration logic to prefer JWT expiry over stale config#10
anserwaseem merged 2 commits into
mainfrom
issue/5

Conversation

@anserwaseem

@anserwaseem anserwaseem commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Manual verification (real JWT expiry + Firebase refresh)

Tested locally with injected ENSEMBLE_FIREBASE_API_KEY after waiting for the ID token to expire naturally (~1h).

image

@anserwaseem anserwaseem self-assigned this Jun 19, 2026
Comment thread src/auth/token.ts Outdated
@anserwaseem anserwaseem merged commit 46a6fe1 into main Jun 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants