9 lines
309 B
Plaintext
9 lines
309 B
Plaintext
webhookId = to_string!(.webhookId)
|
|
webhookUrl = to_string!(.webhookUrl)
|
|
env = to_string!(.env)
|
|
|
|
clientId = "botpress"
|
|
|
|
redirectUri = "{{ webhookUrl }}/oauth"
|
|
|
|
"https://oauth-bridge.zendesk.com/sc/oauth/authorize?response_type=code&client_id={{ clientId }}&redirect_uri={{ redirectUri }}&state={{ webhookId }}" |