Skip to content

[Feature] Custom user name field from mapping from OAuth #107

@mjovanovic0

Description

@mjovanovic0

Is your feature request related to a problem? Please describe.
By default users name is readed from name field in identity response from custom OAuth provider. Some providers in name field stores username not a user full name and that results in all user having username as name in Rocket.Chat.
image

Describe the solution you'd like
In Custom OAuth provider configuration add field to specify from which field in identity response user full name should be mapped.

Describe alternatives you've considered
Alternative is custom script outside of Rocket.Chat that will periodically sync user name by REST API. This is prone to errors if REST API is changed and not maintainable on long run.

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