-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Add single sign-on support via SSPI on Windows #8463
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
Merged
Merged
Changes from 40 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
de972f1
Add single sign-on support via SSPI on Windows
quasoft a2d91cb
Ensure plugins implement interface
quasoft 1a3aff3
Ensure plugins implement interface
quasoft f0668a3
Move functions used only by the SSPI auth method to sspi_windows.go
quasoft a75887e
Field SSPISeparatorReplacement of AuthenticationForm should not be re…
quasoft 056929c
Fix breaking of oauth authentication on download links. Do not create…
quasoft c91d9f9
Update documentation for the new 'SPNEGO with SSPI' login source
quasoft aa43212
Mention in documentation that ROOT_URL should contain the FQDN of the…
quasoft e24ebb4
Make sure that Contexter is not checking for active login sources whe…
quasoft db8bbd8
Always initialize and free SSO methods, even if they are not enabled,…
quasoft 62e38ab
Add option in SSPIConfig for removing of domains from logon names
quasoft 5d99d6c
Update helper text for StripDomainNames option
quasoft d3c328f
Make sure handleSignIn() is called after a new user object is created…
quasoft 16b47df
Remove default value from text of form field helper
quasoft d4cc173
Remove default value from text of form field helper
quasoft 0d952c8
Remove default value from text of form field helper
quasoft 9cbfd06
Only make a query to the DB to check if SSPI is enabled on handlers t…
quasoft 2c3abb9
Remove code duplication
quasoft 9bff4ae
Log errors in ActiveLoginSources
quasoft dd8937c
Revert suffix of randomly generated E-mails for Reverse proxy authent…
quasoft d5c3e9e
Revert unneeded white-space change in template
quasoft bbbe623
Add copyright comments at the top of new files
quasoft 24c6ef1
Use loopback name for randomly generated emails
quasoft f7fb038
Add locale tag for the SSPISeparatorReplacement field with proper casing
quasoft c9a9f5b
Revert casing of SSPISeparatorReplacement field in locale file, movin…
quasoft 0a4d2c3
Update docs/content/doc/features/authentication.en-us.md
quasoft 734fb6d
Remove Priority() method and define the order in which SSO auth metho…
quasoft 9d2a8dd
Log authenticated username only if it's not empty
quasoft a8503f0
Rephrase helper text for automatic creation of users
quasoft ab26413
Return error if more than one active SSPI auth source is found
quasoft f64128f
Change newUser() function to return error, letting caller log/handle …
quasoft d9018e9
Move isPublicResource, isPublicPage and handleSignIn functions outsid…
quasoft 9432220
Refactor initialization of the list containing SSO auth methods
quasoft 6fd308d
Validate SSPI settings on POST
quasoft be85ea7
Change SSPI to only perform authentication on its own login page, API…
quasoft e6dca6b
Make 'Default language' in SSPI config empty, unless changed by admin
quasoft 29e47ef
Show error if admin tries to add a second authentication source of ty…
quasoft 38be450
Simplify declaration of global variable
quasoft e4bbc91
Rebuild gitgraph.js on Linux
quasoft 814873a
Make sure config values containing only whitespace are not accepted
quasoft 359cd8e
Merge branch 'master' into sspi
lafriks File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.