Skip to content

Conversation

@avanvucht
Copy link

OpenID Connect specs say the username is 'preferred_username' not 'user_name' so let's go with the latter if we can't find 'user_name'.

This solves an issue where I was getting an error "Unable to create user due to Login cannot be blank" in my Redmine 3.4.3 with no LDAP connection.

…er_name' so let's go with the latter if we can't find 'user_name'
@jcmcken
Copy link
Contributor

jcmcken commented Feb 9, 2018

Related to #11. Some providers use nickname but not preferred_username. Maybe a chain of claims needs to be tried.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants