File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ export class JwtAuth implements IAuthentication {
7777
7878 const requestOptions : request . Options = {
7979 method : "POST" ,
80- uri : configuration . baseUrl + "connect/token" ,
80+ uri : configuration . authUrl + "connect/token" ,
8181 body : postData ,
8282 headers : {
8383 "Content-Type" : "application/x-www-form-urlencoded" ,
Original file line number Diff line number Diff line change @@ -59,6 +59,11 @@ export class Configuration {
5959 */
6060 public apiVersion : string = "v3.0" ;
6161
62+ /**
63+ * Should not be used
64+ */
65+ public authUrl : string ;
66+
6267 /**
6368 * If you use custom on-premise server with metered license.
6469 * This way, you only need to specify the API base URL.
@@ -79,6 +84,7 @@ export class Configuration {
7984
8085 this . baseUrl = baseUrl ;
8186 }
87+ this . authUrl = this . baseUrl ;
8288
8389 this . appSID = appSID ;
8490 this . appKey = appKey ;
You can’t perform that action at this time.
0 commit comments