Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make uid label configurable #60

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Make uid label configurable #60

wants to merge 1 commit into from

Conversation

iconoeugen
Copy link

The uid is always using the sub value from the userinfo, which in some applications is not the expected value.

To avoid such limitations, the uid label is now configurable by configuring the omniauth uid_label option to a different label that apears in the userinfo details.

The default value for uid_label is set to sub to ensure the backward compatibility is not broken.

The uid is always using the sub value from the *userinfo*, which in some applications is not the expected value. To avoid such limitations, the uid label is now configurable by configuring the omniauth *uid_label* option to a different label that apears in the userinfo details. The default value for *uid_label* is set to *sub* to ensure the backward compatibility is not broken.
@coveralls
Copy link

coveralls commented Aug 1, 2016

Coverage Status

Coverage increased (+0.1%) to 99.475% when pulling ce277b4 on iconoeugen:feature/configurable_uid_label into 849b181 on jjbohn:master.

stanhu pushed a commit to stanhu/omniauth-openid-connect that referenced this pull request Apr 21, 2021
…ResponseObject::IdToken:0x0000000008d9dde0>): (jjbohn#60)

since id_token gets decoded twice

fix jjbohn#59
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