Skip to content

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