1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-19 16:44:25 +00:00
gitea/services/auth/source/oauth2
Clar Fon 3d10193be2
Allow specifying SECRET_KEY_URI, similar to INTERNAL_TOKEN_URI (#19663)
Only load SECRET_KEY and INTERNAL_TOKEN if they exist.
Never write the config file if the keys do not exist, which was only a fallback for Gitea upgraded from < 1.5

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-10-02 01:26:33 +08:00
..
assert_interface_test.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
init.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
jwtsigningkey.go Allow specifying SECRET_KEY_URI, similar to INTERNAL_TOKEN_URI (#19663) 2022-10-02 01:26:33 +08:00
providers_base.go Add microsoft oauth2 providers (#16544) 2021-08-05 21:11:08 -04:00
providers_custom.go Add Option to synchronize Admin & Restricted states from OIDC/OAuth2 along with Setting Scopes (#16766) 2021-12-14 16:37:11 +08:00
providers_openid.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
providers_simple.go Use ImagedProvider for gplus oauth2 provider (#18504) 2022-02-01 01:02:56 +01:00
providers.go Fix various typos (#20338) 2022-07-12 23:32:37 +02:00
source_authenticate.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
source_callout.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
source_name.go Add microsoft oauth2 providers (#16544) 2021-08-05 21:11:08 -04:00
source_register.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
source.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
store.go Reset Session ID on login (#18018) 2021-12-20 22:12:26 +08:00
token.go Refactor jwt.StandardClaims to RegisteredClaims (#18344) 2022-01-20 22:52:56 +01:00
urlmapping.go Add microsoft oauth2 providers (#16544) 2021-08-05 21:11:08 -04:00