generated from payloadcms/plugin-template
-
-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
user authentication using Keycloak works like a charm after upgrading to the latest release.
Within the appUsers collection the user has been created successfully bot only contains the email-value (all other fields e.g. firstname, lastname etc) remains empty.
therefore using getSession from appAuthClient I can only use the provided email value as shown below:
Session: {
data: {
isAuthenticated: true,
user: { id: 4, email: 'my_stored_email' }
},
message: 'Fetched user session',
kind: 'Retrieved',
isError: false,
isSuccess: true
}
How can I extend the user object with the missing fields?
Metadata
Metadata
Assignees
Labels
No labels