mirror of
https://github.com/fosrl/pangolin.git
synced 2025-05-14 06:10:39 +01:00
add id token and claims to debug logs
This commit is contained in:
parent
21d5b67ef1
commit
f25990a9a7
1 changed files with 2 additions and 0 deletions
|
@ -160,7 +160,9 @@ export async function validateOidcCallback(
|
||||||
);
|
);
|
||||||
|
|
||||||
const idToken = tokens.idToken();
|
const idToken = tokens.idToken();
|
||||||
|
logger.debug("ID token", { idToken });
|
||||||
const claims = arctic.decodeIdToken(idToken);
|
const claims = arctic.decodeIdToken(idToken);
|
||||||
|
logger.debug("ID token claims", { claims });
|
||||||
|
|
||||||
const userIdentifier = jmespath.search(
|
const userIdentifier = jmespath.search(
|
||||||
claims,
|
claims,
|
||||||
|
|
Loading…
Reference in a new issue