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

Fall back to using OIDC Subject instead of Email #57

Merged
merged 2 commits into from Mar 8, 2019

Conversation

aigarius
Copy link
Contributor

Email is not mandatory field, Subject is mandatory and expected to be unique. Might want to take a look at UserInfo first, however.

Issue: #56

@aigarius aigarius requested a review from a team February 13, 2019 15:27
Copy link
Member

@JoelSpeed JoelSpeed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will need to add a note to the changelog about this change

providers/oidc.go Show resolved Hide resolved
@JoelSpeed JoelSpeed mentioned this pull request Feb 18, 2019
3 tasks
@aigarius
Copy link
Contributor Author

We will need to add a note to the changelog about this change

Not super sure about that. This will make this work on systems where it never worked before, but in a peculiar way. Once it is fully fixed correctly (as in email is requested separately from userinfo it is not present in the immediate reply) then the responses will change for these systems, but then also those systems will start working exactly the same as the systems that already work now.

aigarius and others added 2 commits March 8, 2019 13:39
Email is not mandatory field, Subject is mandatory and expected to be unique. Might want to take a look at UserInfo first, however.

Issue: oauth2-proxy#56
@aigarius
Copy link
Contributor Author

aigarius commented Mar 8, 2019

We will need to add a note to the changelog about this change

Changelog added

@JoelSpeed JoelSpeed merged commit 21c9d38 into oauth2-proxy:master Mar 8, 2019
brianv0 added a commit to lsst-dm/legacy-oauth2_proxy that referenced this pull request May 1, 2019
brianv0 added a commit to lsst-dm/legacy-oauth2_proxy that referenced this pull request May 1, 2019
brianv0 added a commit to lsst-dm/legacy-oauth2_proxy that referenced this pull request May 20, 2019
brianv0 added a commit to lsst-dm/legacy-oauth2_proxy that referenced this pull request May 20, 2019
brianv0 added a commit to lsst-dm/legacy-oauth2_proxy that referenced this pull request Jun 5, 2019
brianv0 added a commit to lsst-dm/legacy-oauth2_proxy that referenced this pull request Jun 17, 2019
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.

None yet

2 participants