Commit Graph

28 Commits (6ee3a8a039ed492d44e80b6f14f222a96763b196)

Author SHA1 Message Date
Cheng 9de443ced2
chore: use errors.New to replace fmt.Errorf with no parameters will much better (#30621) 7 months ago
wxiaoguang 92e27e15c3
Add comment for ContainsRedirectURI about the exact match (#30457) 7 months ago
6543 4ba642d07d
Revert "Support SAML authentication (#25165)" (#29358) 9 months ago
techknowlogick 5bb8d1924d
Support SAML authentication (#25165) 9 months ago
Lunny Xiao df1e7d0067
Use db.Find instead of writing methods for every object (#28084) 12 months ago
Lunny Xiao 1bf5527eac
Refactor Find Sources and fix bug when view a user who belongs to an unactive auth source (#27798) 1 year ago
JakobDev 76a85a4ce9
Final round of `db.DefaultContext` refactor (#27587) 1 year ago
M Hickford a825cc0f34
Pre-register OAuth application for tea (#27509) 1 year ago
wxiaoguang 3be80a863b
Ignore the trailing slashes when comparing oauth2 redirect_uri (#26597) 1 year ago
Denys Konovalov 63ab92d797
Pre-register OAuth2 applications for git credential helpers (#26291) 1 year ago
6543 8995046110
Less naked returns (#25713) 1 year ago
Denys Konovalov ca35dec18b
Add ability to set multiple redirect URIs in OAuth application UI (#25072) 1 year ago
zeripath 1319ba6742
Use minio/sha256-simd for accelerated SHA256 (#23052) 2 years ago
Jason Song 477a1cc40e
Improve utils of slices (#22379) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
Lunny Xiao 34283a74e8
Allow detect whether it's in a database transaction for a context.Context (#21756) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
M Hickford 191a74d622
Record OAuth client type at registration (#21316) 2 years ago
zeripath 716fcfcf72
Make every not exist error unwrappable to a fs.ErrNotExist (#20891) 2 years ago
qwerty287 a813c9d8f3
Allow creation of OAuth2 applications for orgs (#18084) 2 years ago
M Hickford 6a45a691c1
Ignore port for loopback redirect URIs (#21293) 2 years ago
Balki c138e76c1c
Fix panic when an invalid oauth2 name is passed (#20820) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
6543 f41c2bec4c
Delete user related oauth stuff on user deletion too (#19677) 3 years ago
Lunny Xiao 772ad761eb
Fix some slice problems (incorrect slice length) (#19592) 3 years ago
Gusted aa23f477b7
Use `CryptoRandomBytes` instead of `CryptoRandomString` (#18439) 3 years ago
Lunny Xiao de8e3948a5
Refactor auth package (#17962) 3 years ago
Lunny Xiao d710af6669
Remove NewSession method from db.Engine interface (#17577) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 3 years ago
zeripath 9302eba971
DBContext is just a Context (#17100) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
KN4CK3R 87505a9464
Add `AbsoluteListOptions` (#17028) 3 years ago
6543 2289580bb7
[API] generalize list header (#16551) 3 years ago
zeripath 5d2e11eedb
Refactor: Move login out of models (#16199) 3 years ago
luzpaz e0296b6a6d
Fix various documentation, user-facing, and source comment typos (#16367) 3 years ago
KN4CK3R 29695cd6d5
Add asymmetric JWT signing (#16010) 3 years ago
KN4CK3R 1295e750b4
Add OpenID claims "profile" and "email". (#16141) 3 years ago
Lunny Xiao 1fc1d60517
Fix delete nonexist oauth application 500 and prevent deadlock (#15384) 4 years ago
Johnny Oskarsson a07e67d9cc
Minimal OpenID Connect implementation (#14139) 4 years ago
6543 a19447aed1
migrate from com.* to alternatives (#14103) 4 years ago
Lunny Xiao 1dd3f19ee3
Use google/uuid to instead satori/go.uuid (#11943) 4 years ago
6543 ab69b9b1a6
Refactor UpdateOAuth2Application (#11034) 5 years ago
Gustavo Marin af61b2249a
adds API endpoints to manage OAuth2 Application (list/create/delete) (#10437) 5 years ago
Lunny Xiao d151503d34 Upgrade xorm to v0.8.0 (#8536) 5 years ago
Tamal Saha 171b359877 Use gitea forked macaron (#7933) 5 years ago
Lunny Xiao 85202d4784
Display ui time with customize time location (#7792) 5 years ago
kolaente f9ec2f89f2 Add golangci (#6418) 6 years ago
Jonas Franz 7a4c29c739 OAuth2 Grant UI (#6625) 6 years ago
Jonas Franz e777c6bdc6 Integrate OAuth2 Provider (#5378) 6 years ago