Explorar o código

add do to oauth providers

Alexander Belanger %!s(int64=5) %!d(string=hai) anos
pai
achega
2db7429dfe
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      internal/models/integrations/oauth.go

+ 2 - 1
internal/models/integrations/oauth.go

@@ -7,7 +7,8 @@ type OAuthIntegrationClient string
 
 // The supported oauth mechanism clients
 const (
-	OAuthGithub OAuthIntegrationClient = "github"
+	OAuthGithub       OAuthIntegrationClient = "github"
+	OAuthDigitalOcean OAuthIntegrationClient = "do"
 )
 
 // OAuthIntegration is an auth mechanism that uses oauth