feat(channels): align email oauth authorization
This commit is contained in:
@@ -1582,6 +1582,8 @@ func registerV1Routes(g *gin.RouterGroup, h *Handlers) {
|
||||
// Notion OAuth authorization (ref: Chatwoot namespace :notion resource :authorization)
|
||||
accountScoped.POST("/notion/authorization", middleware.RoleCheck("administrator"), h.NotionIntegration.Authorization)
|
||||
accountScoped.POST("/twitter/authorization", middleware.RoleCheck("administrator"), h.TwitterChannel.ChatwootAuthorization)
|
||||
accountScoped.POST("/microsoft/authorization", middleware.RoleCheck("administrator"), h.MicrosoftChannel.ChatwootAuthorization)
|
||||
accountScoped.POST("/google/authorization", middleware.RoleCheck("administrator"), h.GoogleChannel.ChatwootAuthorization)
|
||||
|
||||
// G16: Third-party Integrations — IntegrationHook CRUD + Slack/Shopify/Linear/Notion
|
||||
// Reference: Chatwoot namespace :integrations under :account
|
||||
|
||||
Reference in New Issue
Block a user