Merge dev into update-oauth-docs

This commit is contained in:
Konsti Wohlwend 2025-08-15 04:32:10 -07:00 committed by GitHub
commit 9aef96a3c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,7 +13,7 @@ export type TokenSet = {
function processTokenSet(providerName: string, tokenSet: OIDCTokenSet, defaultAccessTokenExpiresInMillis?: number): TokenSet {
if (!tokenSet.access_token) {
throw new StackAssertionError(`No access token received from ${providerName}.`, { tokenSetKeys: Object.keys(tokenSet), providerName });
throw new StackAssertionError(`No access token received from ${providerName}.`, { tokenSet, providerName });
}
// if expires_in or expires_at provided, use that