@@ -57,7 +57,7 @@ class Auth {
5757 }
5858 const configuration = Configuration . Get ( )
5959 const response = await axios
60- . post ( configuration . baseAuthUrl , serialize ( body ) , {
60+ . post ( ` ${ configuration . baseApiUrl } /oauth/token` , serialize ( body ) , {
6161 headers : {
6262 'Content-Type' : 'application/x-www-form-urlencoded' ,
6363 Accept : 'application/json' ,
@@ -110,7 +110,7 @@ class Auth {
110110 }
111111 const configuration = Configuration . Get ( )
112112 const response = await axios
113- . post ( configuration . baseAuthUrl , serialize ( body ) , {
113+ . post ( ` ${ configuration . baseApiUrl } /oauth/token` , serialize ( body ) , {
114114 headers : {
115115 'Content-Type' : 'application/x-www-form-urlencoded' ,
116116 Accept : 'application/json' ,
@@ -157,7 +157,7 @@ class Auth {
157157 }
158158 const configuration = Configuration . Get ( )
159159 const response = await axios
160- . post ( configuration . baseAuthUrl , serialize ( body ) , {
160+ . post ( ` ${ configuration . baseApiUrl } /oauth/token` , serialize ( body ) , {
161161 headers : {
162162 'Content-Type' : 'application/x-www-form-urlencoded' ,
163163 Accept : 'application/json' ,
@@ -196,7 +196,7 @@ class Auth {
196196 }
197197 const configuration = Configuration . Get ( )
198198 const response = await axios
199- . post ( configuration . baseAuthUrl , serialize ( body ) , {
199+ . post ( ` ${ configuration . baseApiUrl } /oauth/token` , serialize ( body ) , {
200200 headers : {
201201 'Content-Type' : 'application/x-www-form-urlencoded' ,
202202 Accept : 'application/json' ,
@@ -238,7 +238,7 @@ class Auth {
238238 }
239239 const configuration = Configuration . Get ( )
240240 const response = await axios
241- . post ( configuration . baseAuthUrl , serialize ( body ) , {
241+ . post ( ` ${ configuration . baseApiUrl } /oauth/token` , serialize ( body ) , {
242242 headers : {
243243 'Content-Type' : 'application/x-www-form-urlencoded' ,
244244 Accept : 'application/json' ,
0 commit comments