Skip to content

Missing user values in appUsers using KeycloakAuthProvider #117

@oirrms

Description

@oirrms

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions