fix: typo
This commit is contained in:
parent
7ab828ab50
commit
52305bc4e6
1 changed files with 2 additions and 1 deletions
|
|
@ -12,7 +12,8 @@ export async function expressAuthentication(
|
|||
case "keycloak":
|
||||
const authData = await keycloakAuth(request, scopes);
|
||||
request.app.locals.logData.sessionId = authData.session_state;
|
||||
request.app.locals.logData.user = authData.preffered_username;
|
||||
request.app.locals.logData.user = authData.preferred_username;
|
||||
request.app.locals.logData.userId = authData.sub;
|
||||
return authData;
|
||||
default:
|
||||
throw new HttpError(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue