mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
Merge dev into update-oauth-docs
This commit is contained in:
commit
9aef96a3c9
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user