Commit Graph

71 Commits (3e1b63f75b9185573d1b578387803e182e91bc5f)

Author SHA1 Message Date
wxiaoguang 2a828e2798
Clarify path param naming (#32969) 2 months ago
wxiaoguang a163c53a60
Refactor template & test related code (#32938) 2 months ago
Lunny Xiao 4121f952d1
Fix oauth2 error handle not return immediately (#32514) 3 months ago
wxiaoguang dd83cfcacc
Refactor CSRF token (#32216) 4 months ago
Lunny Xiao 3a4a1bffbe
Make oauth2 code clear. Move oauth2 provider code to their own packages/files (#32148) 4 months ago
Shivaram Lingamneni e1cf760d2f
OIDC: case-insensitive comparison for auth scheme `Basic` (#31706) 7 months ago
Shivaram Lingamneni ecc8f2b047
add `username` to OIDC introspection response (#31688) 7 months ago
Shivaram Lingamneni 2f1cb1d289
fix OIDC introspection authentication (#31632) 7 months ago
Denys Konovalov a8d0c879c3
add skip secondary authorization option for public oauth2 clients (#31454) 7 months ago
Rowan Bohde 416c36f303
allow synchronizing user status from OAuth2 login providers (#31572) 7 months ago
wxiaoguang 43c7a2e7b1
Refactor names (#31405) 8 months ago
Denys Konovalov 9c8c9ff6d1
use existing oauth grant for public client (#31015) 9 months ago
Zettat123 f1d9f18d96
Return `access_denied` error when an OAuth2 request is denied (#30974) 9 months ago
Archer 5c542ca94c
Prevent automatic OAuth grants for public clients (#30790) 9 months ago
wxiaoguang bffbbf5470
Improve oauth2 client "preferred username field" logic and the error handling (#30622) 10 months ago
wxiaoguang 01500957c2
Refactor URL detection (#29960) 11 months ago
Lunny Xiao 29f149bd9f
Move context from modules to services (#29440) 12 months ago
6543 4ba642d07d
Revert "Support SAML authentication (#25165)" (#29358) 12 months ago
6543 7fbdb60fc1
Start to migrate from `util.OptionalBool` to `optional.Option[bool]` (#29329) 12 months ago
techknowlogick 5bb8d1924d
Support SAML authentication (#25165) 12 months ago
wxiaoguang c9d0e63c20
Remove unnecessary "Str2html" modifier from templates (#29319) 12 months ago
wxiaoguang 31bb9f3247
Refactor more code in templates (#29236) 12 months ago
KN4CK3R f8b471ace1
Unify user update methods (#28733) 1 year ago
Kyle D 54acf7b0d4
Normalize oauth email username (#28561) 1 year ago
JakobDev 76a85a4ce9
Final round of `db.DefaultContext` refactor (#27587) 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
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
wxiaoguang 6913053223
Start using template context function (#26254) 2 years ago
harryzcy 0f9f6567bb
Bump github.com/golang-jwt/jwt to v5 (#25975) 2 years ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 2 years ago
wxiaoguang 73ae71824d
Show OAuth2 errors to end users (#25261) 2 years ago
Denys Konovalov 7d855efb1f
Allow for PKCE flow without client secret + add docs (#25033) 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
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
Sybren 95e8ea9440
Allow setting `redirect_to` cookie on OAuth login (#22594) 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
Jason Song 1d22911cfe
Extract updateSession function to reduce repetition (#21735) 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