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

Support SAML authentication #25165

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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
patch missed the missing imports
  • Loading branch information
techknowlogick committed Jun 9, 2023
commit fa79ccf594aa468879d8e791085f1ff4ca32e9fa
2 changes: 2 additions & 0 deletions routers/web/admin/auths.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
package admin

import (
"crypto/tls"
"crypto/x509"
"errors"
"fmt"
"net/http"
Expand Down