Commit Graph

104 Commits (1ed8e6aa5fad235506f211daa9dffd448d9d5ad4)

Author SHA1 Message Date
Denys Konovalov 9c8c9ff6d1
use existing oauth grant for public client (#31015) 6 months ago
Zettat123 f1d9f18d96
Return `access_denied` error when an OAuth2 request is denied (#30974) 6 months ago
wxiaoguang 67c1a07285
Refactor AppURL usage (#30885) 6 months ago
Archer 5c542ca94c
Prevent automatic OAuth grants for public clients (#30790) 7 months ago
wxiaoguang bffbbf5470
Improve oauth2 client "preferred username field" logic and the error handling (#30622) 7 months ago
SimonErm 6ba0c371c2
Allow `preferred_username` as username source for OIDC (#30454) 7 months ago
wxiaoguang 83f83019ef
Clean up log messages (#30313) 7 months ago
wxiaoguang ca4107dc96
Refactor external URL detection (#29973) 8 months ago
wxiaoguang 01500957c2
Refactor URL detection (#29960) 8 months ago
wxiaoguang df1268ca08
Make "/user/login" page redirect if the current user has signed in (#29583) 9 months ago
6543 a3f05d0d98
remove util.OptionalBool and related functions (#29513) 9 months ago
wxiaoguang 6bdfc84e6c
Allow to change primary email before account activation (#29412) 9 months ago
Lunny Xiao 29f149bd9f
Move context from modules to services (#29440) 9 months ago
wxiaoguang 49e4826747
Refactor "user/active" related logic (#29390) 9 months ago
6543 4ba642d07d
Revert "Support SAML authentication (#25165)" (#29358) 9 months ago
6543 7fbdb60fc1
Start to migrate from `util.OptionalBool` to `optional.Option[bool]` (#29329) 9 months ago
techknowlogick 5bb8d1924d
Support SAML authentication (#25165) 9 months ago
wxiaoguang c9d0e63c20
Remove unnecessary "Str2html" modifier from templates (#29319) 9 months ago
Jason Song 22b8de85dd
Do not use `ctx.Doer` when reset password (#29289) 9 months ago
wxiaoguang 31bb9f3247
Refactor more code in templates (#29236) 9 months ago
wxiaoguang f3eb835886
Refactor locale&string&template related code (#29165) 9 months ago
KN4CK3R f8b471ace1
Unify user update methods (#28733) 10 months ago
Kyle D 54acf7b0d4
Normalize oauth email username (#28561) 11 months ago
wxiaoguang e5d8c4b8d4
Avoid cycle-redirecting user/login page (#28636) 11 months ago
Lunny Xiao e7cb8da2a8
Always enable caches (#28527) 11 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
KN4CK3R c6c829fe3f
Enhanced auth token / remember me (#27606) 1 year ago
JakobDev 328da56a28
Don't show Link to TOTP if not set up (#27585) 1 year ago
JakobDev ebe803e514
Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
JakobDev cc5df26680
Even more `db.DefaultContext` refactor (#27352) 1 year ago
Lunny Xiao 673cf6af76
make writing main test easier (#27270) 1 year ago
JakobDev 7047df36d4
Another round of `db.DefaultContext` refactor (#27103) 1 year ago
JakobDev f91dbbba98
Next round of `db.DefaultContext` refactor (#27089) 1 year ago
JakobDev c548dde205
More refactoring of `db.DefaultContext` (#27083) 1 year ago
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073) 1 year ago
Dmitry Sharshakov 63b53af933
Show OpenID Connect and OAuth on signup page (#20242) 1 year ago
Jack Hay 9881b8a4e2
Add more descriptive error on forgot password page (#26848) 1 year ago
Jack Hay c0ab7070e5
Update team invitation email link (#26550) 1 year ago
wxiaoguang 6913053223
Start using template context function (#26254) 1 year ago
wxiaoguang dcd3a63128
Move web JSON functions to web context and simplify code (#26132) 1 year ago
harryzcy 0f9f6567bb
Bump github.com/golang-jwt/jwt to v5 (#25975) 1 year ago
6543 8995046110
Less naked returns (#25713) 1 year ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 1 year ago
Lunny Xiao 0403bd989f
Log the real reason when authentication fails (but don't show the user) (#25414) 1 year ago
wxiaoguang ddf96f68cc
Use JSON response for "user/logout" (#25522) 1 year ago
wxiaoguang 73ae71824d
Show OAuth2 errors to end users (#25261) 1 year ago
Denys Konovalov 7d855efb1f
Allow for PKCE flow without client secret + add docs (#25033) 1 year ago
wxiaoguang cb700aedd1
Split "modules/context.go" to separate files (#24569) 2 years ago
Gary Moon ab42c139a2
Respect the REGISTER_MANUAL_CONFIRM setting when registering via OIDC (#24035) 2 years ago