Add the preferred_username mapping for mediawiki
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
4a6d33d863
commit
1c2b327e74
1 changed files with 4 additions and 0 deletions
|
@ -50,7 +50,11 @@ openidc policy url=https://fedoraproject.org/wiki/Legal:PrivacyPolicy
|
|||
openidc tos url=https://fedoraproject.org/wiki/Legal:PrivacyPolicy
|
||||
openidc idp sig key id=20161031-sig
|
||||
openidc allow dynamic client registration=False
|
||||
{% if env == "staging" %}
|
||||
openidc default attribute mapping=[["*", "*"], ["timezone", "zoneinfo"], ["_groups", "groups"], [["_extras", "cla"], "cla"], ["fullname", "name"], ["_username", "preferred_username"]]
|
||||
{% else %}
|
||||
openidc default attribute mapping=[["*", "*"], ["timezone", "zoneinfo"], ["_groups", "groups"], [["_extras", "cla"], "cla"], ["fullname", "name"]]
|
||||
{% endif %}
|
||||
|
||||
openid endpoint url=https://id{{env_suffix}}.fedoraproject.org/openid/
|
||||
openid identity url template=http://%(username)s.id{{env_suffix}}.fedoraproject.org/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue