oops
This commit is contained in:
parent
fb126677e0
commit
aef42b6638
|
@ -116,7 +116,7 @@ export async function authorizationCode(
|
|||
);
|
||||
|
||||
try {
|
||||
respObj.id_token = await oauth2.model.jwt.issueIdToken(user, cleanScope, null, code.nonce);
|
||||
respObj.id_token = await oauth2.model.jwt.issueIdToken(user, cleanScope, undefined, code.nonce);
|
||||
} catch (err) {
|
||||
oauth2.logger.error(err);
|
||||
throw new ServerError('Failed to issue an ID token');
|
||||
|
|
Loading…
Reference in New Issue