Skip to content

Use preferred_username instead of nickname when retrieving username from openid user_info

Andre Moreira Magalhaes requested to merge wip/andrunko/T9281 into master

Not all implementations provide the nickname claim, so let's use preferred_username instead.

For reference, GitLab provides both (and with same value), while Azure only provides preferred_username.

Signed-off-by: Andre Moreira Magalhaes andre.magalhaes@collabora.com

https://phabricator.apertis.org/T9281

Merge request reports