Răsfoiți Sursa

add do to oauth providers

Alexander Belanger 5 ani în urmă
părinte
comite
2db7429dfe
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  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