This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Support trying multiple localparts for OpenID Connect. #8801
Merged
Merged
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
24265fa
Support trying multiple localparts for OpenID Connect.
clokep f4bdc2f
Add an additional test.
clokep f419ff5
Abstract the shared user mapping code from SAML and OIDC.
clokep 7e6a549
Do not pass through parameters to the mapper.
clokep c34e973
Do not retry Matrix IDs which will keep failing.
clokep 1f64e02
Support matching an existing username for OIDC.
clokep eda3e50
Clarify some of the type hints.
clokep c0ae560
Merge remote-tracking branch 'origin/develop' into clokep/oidc-localp…
clokep d3c4e04
Add a newsfragment.
clokep 0ded8b1
Fix some comments.
clokep c29d8de
Remove a reference to SAML in the abstract code.
clokep 512529f
Update the changelog based on feedback.
clokep 9c5d0f6
Expand comments and add a return type.
clokep 1934c10
Append the number of failures by default when mapping OIDC IDs.
clokep 89f1869
Do not use a deprecated function.
clokep 6d11ff8
Add an additional comment.
clokep 18fcaee
Clarify another comment.
clokep 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 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 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 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
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.
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.
Hmm, this seems a bit excessive and like we're trying to sweep the problem under the carpet. I can foresee people just increment an integer on the end, which would end up failing for the 1000th user.
Not sure what to do instead though :/
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.
This is what we do for SAML currently, but it did seem rather excessive to me too.
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.
I guess that's fine for now then.
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.
See #8813 also.