Skip to content

Commit bd0c727

Browse files
Merge pull request #210 from amplience/fix/publish-failures
fix: set default auth url
2 parents 8efba5a + cd504d1 commit bd0c727

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/common/import/publish-queue.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export class PublishQueue {
4949
if (credentials.clientId && credentials.clientSecret) {
5050
this.auth = new Oauth2AuthHeaderProvider(
5151
{ client_id: credentials.clientId, client_secret: credentials.clientSecret },
52-
{ authUrl: process.env.AUTH_URL },
52+
{ authUrl: process.env.AUTH_URL || 'https://auth.amplience.net' },
5353
http
5454
);
5555
} else if (credentials.patToken) {

0 commit comments

Comments
 (0)