Commit Graph

26 Commits (56bff7ae234ee21d0e4524e401a49385c383ccaf)

Author SHA1 Message Date
Lunny Xiao 840ad7eefe
Disable Oauth check if oauth disabled (#32368) 1 week ago
Lunny Xiao 3a4a1bffbe
Make oauth2 code clear. Move oauth2 provider code to their own packages/files (#32148) 2 months ago
Zettat123 b762a1f1b1
Fix tarball/zipball download bug (#29342) 9 months ago
Jack Hay 4e879fed90
Deprecate query string auth tokens (#28390) 12 months ago
Lunny Xiao 5c9fbcca00
Fix attachment download bug (#27486) 1 year ago
Lunny Xiao 6e87a44034
Allow get release download files and lfs files with oauth2 token format (#26430) 1 year ago
JakobDev c548dde205
More refactoring of `db.DefaultContext` (#27083) 1 year ago
KN4CK3R 0eebeeec90
Remove `Named` interface (#26913) 1 year ago
caicandong 491cc06ffe
Fix the error message when the token is incorrect (#25701) 1 year ago
Jason Song 4011821c94
Implement actions (#21937) 2 years ago
Chongyi Zheng de484e86bc
Support scoped access tokens (#20908) 2 years ago
Lunny Xiao ca67c5a8a7
refactor auth interface to return error when verify failure (#22119) 2 years ago
Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter (#21878) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
zeripath 44deae8f3d
Refactor jwt.StandardClaims to RegisteredClaims (#18344) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
Lunny Xiao de8e3948a5
Refactor auth package (#17962) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
KN4CK3R 88abb0dc8a
Decoupled code from DefaultSigningKey (#16743) 3 years ago
KN4CK3R 0bd58d61e5
Added introspection endpoint. (#16752) 3 years ago
zeripath 5d2e11eedb
Refactor: Move login out of models (#16199) 3 years ago
Lunny Xiao fb3ffeb18d
Add sso.Group, context.Auth, context.APIAuth to allow auth special routes (#16086) 4 years ago
zeripath a2df265476
Add trace logging to SSO methods (#15803) 4 years ago
Lunny Xiao 5e20fd6dbf
Move middlewares to web/middleware (#14480) 4 years ago
Lunny Xiao a51cc6dea4
Fix access log (#14475) 4 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 years ago
Lunny Xiao a1c9e8f266
Fix windows build error (#14263) 4 years ago
Lunny Xiao 15a475b7db
Fix recovery middleware to render gitea style page. (#13857) 4 years ago
zeripath b78448e94e
Skip SSPI authentication attempts for /api/internal (#12556) 4 years ago
zeripath bac65f1b82
Fix incorrect error logging in Stats indexer and OAuth2 (#12387) 4 years ago
QuaSoft 7b4d2f7a2a Add single sign-on support via SSPI on Windows (#8463) 5 years ago