We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01f100b commit 90c3541Copy full SHA for 90c3541
components/server/src/session-handler.ts
@@ -113,7 +113,7 @@ export class SessionHandler {
113
if (!subject) {
114
throw new Error("Subject is missing from JWT session claims");
115
}
116
- return await this.userService.findUserById(claims.subject, claims.subject);
+ return await this.userService.findUserById(subject, subject);
117
} catch (err) {
118
log.warn("Failed to authenticate user with JWT Session", err);
119
// Remove the existing cookie, to force the user to re-sing in, and hence refresh it
0 commit comments