Commit Graph

13 Commits (3c658dff233e791856496761325f5ebf787d7521)

Author SHA1 Message Date
Jimmy Praet 5aebc4f000
Respect DefaultUserIsRestricted system default when creating new user (#19310) 3 years ago
wxiaoguang 84ceaa98bd
Refactor CSRF protection modules, make sure CSRF tokens can be up-to-date. (#19337) 3 years ago
KN4CK3R 3f280f89e7
Update HTTP status codes to modern codes (#18063) 3 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
zeripath 1c5afd17ee
Prevent panic on prohibited user login with oauth2 (#18562) 3 years ago
zeripath 7d452558f0
Fix OAuth Source Edit Page (#18495) 3 years ago
zeripath 44deae8f3d
Refactor jwt.StandardClaims to RegisteredClaims (#18344) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
wxiaoguang 6fba174606
Fix incorrect OAuth message (#18332) 3 years ago
Lunny Xiao 35c3553870
Support webauthn (#17957) 3 years ago
KN4CK3R e30b20dc68
Show OAuth callback error message (#18185) 3 years ago
Lunny Xiao de8e3948a5
Refactor auth package (#17962) 3 years ago
Gusted ff2fd08228
Simplify parameter types (#18006) 3 years ago
wxiaoguang 4da1d97810
Refactor HTTP request context (#17979) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Lunny Xiao 7a03473159
Use a standalone struct name for Organization (#17632) 3 years ago
zeripath bbffcc3aec
Multiple Escaping Improvements (#17551) 3 years ago
Nico Schieder 870f5fbc41
Add groups scope/claim to OIDC/OAuth2 Provider (#17367) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 3 years ago
KN4CK3R 88abb0dc8a
Decoupled code from DefaultSigningKey (#16743) 3 years ago
Aliaksandr Mianzhynski 28ac4a7a87
Add EdDSA JWT signing algorithm (#16786) 3 years ago
KN4CK3R 0bd58d61e5
Added introspection endpoint. (#16752) 3 years ago
KN4CK3R 4debb74eda
Fix wrong user in OpenID response (#16736) 3 years ago
Lunny Xiao 9f31f3aa8a
Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
techknowlogick 29a22ade82
switch to maintained lib (#16532) 3 years ago
zeripath 5d2e11eedb
Refactor: Move login out of models (#16199) 3 years ago
KN4CK3R 29695cd6d5
Add asymmetric JWT signing (#16010) 3 years ago
KN4CK3R 1295e750b4
Add OpenID claims "profile" and "email". (#16141) 4 years ago
Lunny Xiao fb3ffeb18d
Add sso.Group, context.Auth, context.APIAuth to allow auth special routes (#16086) 4 years ago
Lunny Xiao 1bfb0a24d8
Refactor routers directory (#15800) 4 years ago
N. L. H 45970ae82e
Feature/oauth userinfo (#15721) 4 years ago
techknowlogick 024ef3940f
add well-known config for OIDC (#15355) 4 years ago
zeripath fa3895ce81
Move modules/forms to services/forms (#15305) 4 years ago
6543 16dea6cebd
[refactor] replace int with httpStatusCodes (#15282) 4 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 years ago
Johnny Oskarsson a07e67d9cc
Minimal OpenID Connect implementation (#14139) 4 years ago
zeripath d3b5edacb6
Escape more things that are passed through str2html (#12622) 4 years ago
zeripath 76053ac31a
Whenever the ctx.Session is updated, release it to save it before sending the redirect (#11456) 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
Cherrg 2f39fc7bb6 fix drone build bug (#7192) 6 years ago
kolaente f9ec2f89f2 Add golangci (#6418) 6 years ago
techknowlogick 2f21bc33a5 Use AppURL for Oauth user link (#6894) 6 years ago
Lunny Xiao e8f4c7733a
fix missing return (#6751) 6 years ago
Jonas Franz 783cd64927 Add option to disable refresh token invalidation (#6584) 6 years ago
Jonas Franz 2315019fef Add support for client basic auth for exchanging access tokens (#6293) 6 years ago
Jonas Franz e777c6bdc6 Integrate OAuth2 Provider (#5378) 6 years ago