Skip to content

Commit 160f637

Browse files
committed
refactor: add ability to customize auth url
1 parent 79c9f2e commit 160f637

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

auth.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ function configureAuthorizationClient({ clientId, clientSecret }) {
3838
},
3939
auth: {
4040
// This is the URL for our auth server.
41-
tokenHost: "https://login.cloud.camunda.io/oauth/token"
41+
tokenHost:
42+
process.env.ZEEBE_AUTHORIZATION_SERVER_URL ||
43+
"https://login.cloud.camunda.io/oauth/token"
4244
},
4345
options: {
4446
authorizationMethod: "body"

0 commit comments

Comments
 (0)