You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/services/auth/source/oauth2
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073)
Part of #27065

This reduces the usage of `db.DefaultContext`. I think I've got enough
files for the first PR. When this is merged, I will continue working on
this.

Considering how many files this PR affect, I hope it won't take to long
to merge, so I don't end up in the merge conflict hell.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
1 year ago
..
assert_interface_test.go
init.go
jwtsigningkey.go Handle base64 decoding correctly to avoid panic (#26483) 2 years ago
providers.go Use `object-fit: contain` for oauth2 custom icons (#26493) 2 years ago
providers_base.go Use inline SVG for built-in OAuth providers (#25171) 2 years ago
providers_custom.go Modify OAuth login ui and fix display name, iconurl related logic (#25030) 2 years ago
providers_openid.go Use inline SVG for built-in OAuth providers (#25171) 2 years ago
providers_simple.go Modify OAuth login ui and fix display name, iconurl related logic (#25030) 2 years ago
source.go Map OIDC groups to Orgs/Teams (#21441) 2 years ago
source_authenticate.go Reduce usage of `db.DefaultContext` (#27073) 1 year ago
source_callout.go
source_name.go
source_register.go Handle OpenID discovery URL errors a little nicer when creating/editing sources (#23397) 2 years ago
store.go
token.go Bump github.com/golang-jwt/jwt to v5 (#25975) 2 years ago
urlmapping.go