Forgejo/services/auth/source/oauth2
Gusted 0b3b13c8d5
[GITEA] Maintain aspect ratio for auth icons
- When specifying an icon URL for a authentication source, it's forced
to be an width and height of 20px. However this didn't take into account
that icons could have an different aspect ratio of 1:1.
- This patch fixes that by instead using `max-width` and `max-height`
which will respect other aspect ratios.
- Resolves https://codeberg.org/forgejo/forgejo/issues/1234

(cherry picked from commit 3482739637)
2023-08-14 12:43:56 +02:00
..
assert_interface_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
http.go [TESTS] oauth2: make it possible to use an alternate http.Client 2023-08-14 10:23:53 +02:00
init.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
jwtsigningkey.go Bump github.com/golang-jwt/jwt to v5 (#25975) 2023-07-19 09:57:10 +00:00
providers.go [GITEA] Maintain aspect ratio for auth icons 2023-08-14 12:43:56 +02:00
providers_base.go Use inline SVG for built-in OAuth providers (#25171) 2023-06-13 10:51:02 +00:00
providers_custom.go [TESTS] oauth2: make it possible to use an alternate http.Client 2023-08-14 10:23:53 +02:00
providers_openid.go [TESTS] oauth2: make it possible to use an alternate http.Client 2023-08-14 10:23:53 +02:00
providers_simple.go Modify OAuth login ui and fix display name, iconurl related logic (#25030) 2023-06-08 16:35:29 +00:00
source.go Map OIDC groups to Orgs/Teams (#21441) 2023-02-08 14:44:42 +08:00
source_authenticate.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
source_callout.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
source_name.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
source_register.go Handle OpenID discovery URL errors a little nicer when creating/editing sources (#23397) 2023-03-10 01:14:43 -05:00
store.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
token.go Bump github.com/golang-jwt/jwt to v5 (#25975) 2023-07-19 09:57:10 +00:00
urlmapping.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00