Browse Source

add do to oauth providers

Alexander Belanger 5 năm trước cách đây
mục cha
commit
2db7429dfe

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

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