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

Added ADFS Provider #1238

Merged

Conversation

samirachoadi
Copy link
Contributor

Description

Added ADFS provider to support Windows Server openid Web Sign On.

Motivation and Context

We're planning to use aotuh2-proxy as one of the authentication systems for webapps for the company I'm working on. In order to achieve this goal, It will be very helpful to support ADFS since it's currently in use for many projects.

How Has This Been Tested?

Wrote unit tests with the ginko library taking as examples gitlab_test.go and keycloak_test.go
Created an ADFS openid application and configured a dev environment pointing to the company test ADFS openid endpoint.
Tested regular user login with web-browser with SSO enabled and disabled.
Tested login with Authentication Bearer header and a programmatically generated token.
Created a new provider called adfs.
Created tests.
Added the new provider to the providers list.
Added documentation.
Since it's a different provider it shouldn't affect any other parts of the code or break compatibility.

Checklist:

  • My change requires a change to the documentation or CHANGELOG.
  • I have updated the documentation/CHANGELOG accordingly.
  • I have created a feature (non-master) branch for my PR.

@samirachoadi samirachoadi requested a review from a team as a code owner June 13, 2021 08:12
@samirachoadi
Copy link
Contributor Author

Sorry @NickMeves I think I messed up the old pull request with the rebase. I just opened a new one.

Copy link
Member

@NickMeves NickMeves left a comment

Choose a reason for hiding this comment

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

LGTM!

Papertrail of the previous PR where most discussion occured: #1021

@NickMeves NickMeves merged commit a296936 into oauth2-proxy:master Jun 13, 2021
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