We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 682a36d + e3464c8 commit dabf263Copy full SHA for dabf263
endpoints/userinfo.ts
@@ -29,7 +29,7 @@ export function userinfo(this: OidcClient) {
29
}
30
31
logger?.trace("openid-client/userinfo");
32
- const userinfo = await this.client.userinfo(currentSession.idToken);
+ const userinfo = await this.client.userinfo(currentSession.accessToken);
33
34
set.headers["Content-Type"] = "application/json";
35
return userinfo;
0 commit comments