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.
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
Add single sign-on support via SSPI on Windows #8463
Add single sign-on support via SSPI on Windows #8463
Changes from 3 commits
de972f1
a2d91cb
1a3aff3
f0668a3
a75887e
056929c
c91d9f9
aa43212
e24ebb4
db8bbd8
62e38ab
5d99d6c
d3c328f
16b47df
d4cc173
0d952c8
9cbfd06
2c3abb9
9bff4ae
dd8937c
d5c3e9e
bbbe623
24c6ef1
f7fb038
c9a9f5b
0a4d2c3
734fb6d
9d2a8dd
a8503f0
ab26413
f64128f
d9018e9
9432220
6fd308d
be85ea7
e6dca6b
29e47ef
38be450
e4bbc91
814873a
359cd8e
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems that more than one can be found, but we will take only the first one. It's probably better then to return an error if more than one is found.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed with commit bc9242f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should also check when adding new auth source that no SSPI auth source already exists and throw user error there
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lafriks Ok, should we prevent having two source of type SSPI, even if one of them is not active?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually there is little value in having a second SSPI source in deactivated state. There are only a few configuration options, most of them booleans, so there seems to be no reason for someone to want to keep a backup configuration.
Changed it to throw an error when adding a new auth source of type SSPI, if another one already exists, no matter if its activated or not. Commit 207e692