Sfoglia il codice sorgente

add do to oauth providers

Alexander Belanger 5 anni fa
parent
commit
2db7429dfe
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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