summaryrefslogtreecommitdiffstats
path: root/routers/web/auth/oauth.go
Commit message (Expand)AuthorAgeFilesLines
* use existing oauth grant for public client (#31015) (#31042)Giteabot2024-05-211-2/+17
* Return `access_denied` error when an OAuth2 request is denied (#30974) (#31029)Giteabot2024-05-201-0/+10
* Prevent automatic OAuth grants for public clients (#30790) (#30836)Giteabot2024-05-021-2/+3
* Improve oauth2 client "preferred username field" logic and the error handling...wxiaoguang2024-04-251-13/+22
* Refactor URL detection (#29960)wxiaoguang2024-03-211-1/+1
* Move context from modules to services (#29440)Lunny Xiao2024-02-271-1/+1
* Revert "Support SAML authentication (#25165)" (#29358)65432024-02-241-11/+8
* Start to migrate from `util.OptionalBool` to `optional.Option[bool]` (#29329)65432024-02-231-1/+1
* Support SAML authentication (#25165)techknowlogick2024-02-231-8/+11
* Remove unnecessary "Str2html" modifier from templates (#29319)wxiaoguang2024-02-221-3/+4
* Refactor more code in templates (#29236)wxiaoguang2024-02-181-9/+1
* Unify user update methods (#28733)KN4CK3R2024-02-041-22/+18
* Normalize oauth email username (#28561)Kyle D2024-01-031-1/+6
* Final round of `db.DefaultContext` refactor (#27587)JakobDev2023-10-141-5/+5
* Penultimate round of `db.DefaultContext` refactor (#27414)JakobDev2023-10-111-3/+3
* Even more `db.DefaultContext` refactor (#27352)JakobDev2023-10-031-2/+2
* Another round of `db.DefaultContext` refactor (#27103)JakobDev2023-09-251-1/+1
* Next round of `db.DefaultContext` refactor (#27089)JakobDev2023-09-161-5/+5
* More refactoring of `db.DefaultContext` (#27083)JakobDev2023-09-151-1/+1
* Reduce usage of `db.DefaultContext` (#27073)JakobDev2023-09-141-4/+4
* Start using template context function (#26254)wxiaoguang2023-08-081-1/+1
* Bump github.com/golang-jwt/jwt to v5 (#25975)harryzcy2023-07-191-12/+10
* Replace `interface{}` with `any` (#25686)silverwind2023-07-041-5/+5
* Show OAuth2 errors to end users (#25261)wxiaoguang2023-06-151-3/+19
* Allow for PKCE flow without client secret + add docs (#25033)Denys Konovalov2023-06-031-2/+2
* Respect the REGISTER_MANUAL_CONFIRM setting when registering via OIDC (#24035)Gary Moon2023-04-251-1/+1
* Refactor cookie (#24107)wxiaoguang2023-04-131-2/+2
* Group template helper functions, remove `Printf`, improve template error mess...wxiaoguang2023-04-081-4/+7
* Add context cache as a request level cache (#22294)Lunny Xiao2023-02-151-2/+2
* Map OIDC groups to Orgs/Teams (#21441)KN4CK3R2023-02-081-30/+65
* Allow setting `redirect_to` cookie on OAuth login (#22594)Sybren2023-01-241-0/+5
* refactor some functions to support ctx as first parameter (#21878)Lunny Xiao2022-12-031-3/+3
* Implement FSFE REUSE for golang files (#21840)flynnnnnnnnnn2022-11-271-2/+1
* Extract updateSession function to reduce repetition (#21735)Jason Song2022-11-101-35/+15
* Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551)delvh2022-10-241-2/+2
* Record OAuth client type at registration (#21316)M Hickford2022-10-241-1/+14
* Require authentication for OAuth token refresh (#21421)M Hickford2022-10-231-0/+29
* Suppress `ExternalLoginUserNotExist` error (#21504)KN4CK3R2022-10-191-1/+3
* Support instance-wide OAuth2 applications (#21335)qwerty2872022-10-121-5/+12
* Parse OAuth Authorization header when request omits client secret (#21351)M Hickford2022-10-071-2/+21
* Improve error descriptions for unauthorized_client (#21292)M Hickford2022-09-281-4/+4
* Move some files into models' sub packages (#20262)Lunny Xiao2022-08-251-2/+2
* Catch the error before the response is processed by goth. (#20000)SteveTheEngineer2022-06-201-12/+20
* Add more linters to improve code readability (#19989)Wim2022-06-201-1/+1
* Use DisplayName() instead of FullName in Oauth provider (#19991)oGi4i2022-06-161-1/+1
* Adding button to link accounts from user settings (#19792)Mai-Lapyst2022-05-291-1/+11
* Move almost all functions' parameter db.Engine to context.Context (#19748)Lunny Xiao2022-05-201-19/+20
* Respect DefaultUserIsRestricted system default when creating new user (#19310)Jimmy Praet2022-04-291-9/+12
* Refactor CSRF protection modules, make sure CSRF tokens can be up-to-date. (#...wxiaoguang2022-04-081-1/+1
* Update HTTP status codes to modern codes (#18063)KN4CK3R2022-03-231-4/+4