-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Support SAML authentication #25165
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
Support SAML authentication #25165
Changes from all commits
Commits
Show all changes
113 commits
Select commit
Hold shift + click to select a range
58f0598
feat(auth): add SAML
techknowlogick 83975b0
make vendor & make fmt
techknowlogick a96ead2
add copy headers
techknowlogick 961c714
add translations
techknowlogick 36ca421
make tidy
techknowlogick fa79ccf
patch missed the missing imports
techknowlogick afa118a
Merge branch 'main' into saml
techknowlogick c89ce7f
Merge branch 'main' into saml
techknowlogick 8b24ebd
make vendor tidy
techknowlogick 2798cc1
fix settings templates
techknowlogick 4400f9b
Merge branch 'main' into saml
techknowlogick c11d8e3
make fmt tidy
techknowlogick eb0e267
add button to login page
techknowlogick 7ccc232
cleanup template
techknowlogick b46e5de
update comment
techknowlogick 7ad1370
loading spinner (not a fan of the code duplication in this commit)
techknowlogick cfbd719
handle callback
techknowlogick d1af443
fix new saml provider form, add fields for specifying assertion keys
jackHay22 36219f8
fix whitespace change
jackHay22 5c7d549
revert comment change
jackHay22 f5466c9
remove extra character
jackHay22 68340b4
Merge pull request #1962 from jackHay22/jh/saml
techknowlogick d699b84
Merge remote-tracking branch 'upstream/main' into saml
techknowlogick 7a92296
make tidy
techknowlogick 6a6dc12
WIP: add auth type to external account linking
jackHay22 3042a08
fixes for account link
jackHay22 1dae9fd
rebase cleanup
jackHay22 d555cf9
whitespace fix
jackHay22 f8b3a2a
Merge pull request #1963 from jackHay22/jh/saml
techknowlogick 85ba490
Merge remote-tracking branch 'upstream/main' into saml
techknowlogick 10c6ca9
fix merge
techknowlogick 9b90e35
fix merge
techknowlogick 17f0fe5
return error for malformed xml to avoid panic, fix external link bug
jackHay22 503f652
Merge remote-tracking branch 'upstream/main' into saml
techknowlogick ece1d3c
pass ctx
techknowlogick e844904
fix func call
techknowlogick 94aac36
pass ctx
techknowlogick f7d2246
ctx
techknowlogick 47eaae4
ctx
techknowlogick 0c92ddf
ctx
techknowlogick c4f7865
Merge pull request #1964 from jackHay22/jh/saml
techknowlogick 99785b5
make tidy
techknowlogick 1af96f1
Merge branch 'saml' of github.com:techknowlogick/gitea into techknowl…
lunny c07ad6c
Merge branch 'main' into saml
techknowlogick 1f50dbb
Update auths.go
techknowlogick 8b63e79
Merge branch 'main' into saml
techknowlogick 0b90260
Merge branch 'main' into saml
techknowlogick 80c9af9
ui fixes, docs
jackHay22 e9c1b0b
add saml integration test
jackHay22 449f5ff
add saml container to db test action
jackHay22 6f94f26
cleanup
jackHay22 721d453
fix env formatting
jackHay22 54c66b3
fix env vars
jackHay22 b1eaf6e
fix yaml lint
jackHay22 048de02
cleanup
jackHay22 0d84083
update port
jackHay22 9d064de
disable saml test when not in ci
jackHay22 44bdd31
add host mapping
jackHay22 2a93fcb
update urls
jackHay22 13f240d
use localhost
jackHay22 48cb4fa
update ports
jackHay22 567ea6c
cleanup
jackHay22 e26ba32
update docs
jackHay22 0636425
update test to work with simplesamlphp 2.1.0
jackHay22 eb6a58b
switch to use updated image
jackHay22 06c7818
disable saml tests for other db types
jackHay22 04d5b13
whitespace fix
jackHay22 2ff56a8
fix md formatting
jackHay22 3a25eb3
Merge pull request #1965 from jackHay22/jh/saml
techknowlogick 156bc28
reorganize docs
jackHay22 37322f9
fix templates for edit page
jackHay22 acd00f8
documentation, improvements, clean up form and validation
jackHay22 c89b217
fix formatting
jackHay22 271e042
markdown linting fix
jackHay22 4d464a7
Merge pull request #1966 from jackHay22/jh/saml
techknowlogick 9909373
omit cert, private key in test
jackHay22 f374036
Merge pull request #1967 from jackHay22/jh/saml
techknowlogick 5b2acda
add optional saml icon
jackHay22 e355550
formatting fix
jackHay22 326b20c
Merge pull request #1968 from jackHay22/jh/saml
techknowlogick a39fd9f
Merge branch 'main' into saml
techknowlogick f18b8d4
update FindSources to generic db.Find
jackHay22 8b0cb4a
Use information from previous blame parts (#28572)
KN4CK3R 041436d
improve possible performance bottleneck (#28547)
lunny b488887
Fix 500 error of searching commits (#28576)
wxiaoguang de0585a
Convert to url auth to header auth in tests (#28484)
KN4CK3R 1b26247
Add more ways to try (#28581)
wolfogre 896456a
Fix 405 method not allowed CORS / OIDC (#28583)
morphelinho e1502fb
Fix `status_check_contexts` matching bug (#28582)
Zettat123 9cee7e4
Fix wrong due date rendering in issue list page (#28588)
yardenshoham db26967
fix integration test
jackHay22 2d890d2
add header
jackHay22 88816c9
Merge branch 'main' into saml
6543 5a88198
Merge branch 'main' into saml
6543 231070d
Merge branch 'main' into saml
6543 1e6fde2
Apply suggestions from code review
techknowlogick 7ff1ca7
clean up TODOs, update docs with missing features
jackHay22 0d72f35
cleanup
jackHay22 e95e5ca
apply review feedback
jackHay22 ee03122
whitespace fix
jackHay22 7053bdd
fix comment
jackHay22 a4044d5
Merge branch 'main' into saml
techknowlogick 35248c8
make fmt
techknowlogick 96b17bb
rm "this is a comment" ...
6543 808189d
Merge branch 'main' into saml
6543 3f9d230
Merge branch 'main' into saml
6543 33687ff
Merge branch 'main' into saml
6543 2fd7141
Merge branch 'main' into saml
6543 9cd1877
Merge branch 'main' into saml
silverwind d6ad033
document
6543 a813112
Merge branch 'main' into saml
6543 e36a88e
adjust to current codebase
6543 a4352ba
Merge branch 'main' into saml
GiteaBot 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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.