Commit Graph

81 Commits (e5d8c4b8d4864661caa43516d5937be42bf27f7c)

Author SHA1 Message Date
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
wxiaoguang 5b9557aef5
Refactor cookie (#24107) 2 years ago
wxiaoguang fdbd646113
Group template helper functions, remove `Printf`, improve template error messages (#23982) 2 years ago
zeripath 61b89747ed
Provide the ability to set password hash algorithm parameters (#22942) 2 years ago
Lunny Xiao bd820aa9c5
Add context cache as a request level cache (#22294) 2 years ago
KN4CK3R e8186f1c0f
Map OIDC groups to Orgs/Teams (#21441) 2 years ago
Otto Richter (fnetX) 95d9fbdcf3
Fix error on account activation with wrong passwd (#22609) 2 years ago
Sybren 95e8ea9440
Allow setting `redirect_to` cookie on OAuth login (#22594) 2 years ago
techknowlogick 6f231a7980
Replace deprecated Webauthn library (#22400) 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
Xinyu Zhou 68e934ab5d
Add option to enable CAPTCHA validation for login (#21638) 2 years ago
Jason Song 1d22911cfe
Extract updateSession function to reduce repetition (#21735) 2 years ago
Jason Song 5a6cba4cf4
Set last login when activating account (#21731) 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
M Hickford afebbf29a9
Require authentication for OAuth token refresh (#21421) 2 years ago
KN4CK3R 1713beb73b
Suppress `ExternalLoginUserNotExist` error (#21504) 2 years ago
qwerty287 a902af75f4
Support instance-wide OAuth2 applications (#21335) 2 years ago
M Hickford 34f509eb7a
Parse OAuth Authorization header when request omits client secret (#21351) 2 years ago
M Hickford 0e83ab8df7
Improve error descriptions for unauthorized_client (#21292) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
Lunny Xiao 86c85c19b6
Refactor AssertExistsAndLoadBean to use generics (#20797) 2 years ago
Gusted 58de07e5fd
Add support mCaptcha as captcha provider (#20458) 2 years ago