githaven-fork/services/auth/source/oauth2
silverwind a51b115b0a
Use inline SVG for built-in OAuth providers (#25171)
The plan is that all built-in auth providers use inline SVG for more
flexibility in styling and to get the GitHub icon to follow
`currentcolor`. This only removes the `public/img/auth` directory and
adds the missing svgs to our svg build.

It should map the built-in providers to these SVGs and render them. If
the user has set a Icon URL, it should render that as an `img` tag
instead.

```
gitea-azure-ad
gitea-bitbucket
gitea-discord
gitea-dropbox
gitea-facebook
gitea-gitea
gitea-gitlab
gitea-google
gitea-mastodon
gitea-microsoftonline
gitea-nextcloud
gitea-twitter
gitea-yandex
octicon-mark-github
```

GitHub logo is now white again on dark theme:

<img width="431" alt="Screenshot 2023-06-12 at 21 45 34"
src="https://github.com/go-gitea/gitea/assets/115237/27a43504-d60a-4132-a502-336b25883e4d">

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-06-13 10:51:02 +00:00
..
assert_interface_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
init.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
jwtsigningkey.go Add Alpine package registry (#23714) 2023-05-12 17:27:50 +00:00
providers_base.go Use inline SVG for built-in OAuth providers (#25171) 2023-06-13 10:51:02 +00:00
providers_custom.go Modify OAuth login ui and fix display name, iconurl related logic (#25030) 2023-06-08 16:35:29 +00:00
providers_openid.go Use inline SVG for built-in OAuth providers (#25171) 2023-06-13 10:51:02 +00:00
providers_simple.go Modify OAuth login ui and fix display name, iconurl related logic (#25030) 2023-06-08 16:35:29 +00:00
providers.go Use inline SVG for built-in OAuth providers (#25171) 2023-06-13 10:51:02 +00: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
source.go Map OIDC groups to Orgs/Teams (#21441) 2023-02-08 14:44:42 +08:00
store.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
token.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
urlmapping.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00