From 5c44f751a30517914ad232607a1202111cf4f0fa Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Sun, 13 Jan 2019 14:06:22 -0500 Subject: Discord Oauth2 support (#4476) * add discord auth * add vendor for discord * fix syntax error * make fmt * update version of goth in use * update markbates/goth --- models/oauth2.go | 1 + 1 file changed, 1 insertion(+) (limited to 'models/oauth2.go') diff --git a/models/oauth2.go b/models/oauth2.go index 0640471a48..10bce31924 100644 --- a/models/oauth2.go +++ b/models/oauth2.go @@ -43,6 +43,7 @@ var OAuth2Providers = map[string]OAuth2Provider{ "gplus": {Name: "gplus", DisplayName: "Google+", Image: "/img/auth/google_plus.png"}, "openidConnect": {Name: "openidConnect", DisplayName: "OpenID Connect", Image: "/img/auth/openid_connect.png"}, "twitter": {Name: "twitter", DisplayName: "Twitter", Image: "/img/auth/twitter.png"}, + "discord": {Name: "discord", DisplayName: "Discord", Image: "/img/auth/discord.png"}, } // OAuth2DefaultCustomURLMappings contains the map of default URL's for OAuth2 providers that are allowed to have custom urls -- cgit v1.2.3