Commit 599de2a5 by 展昭

update

parent f1059024
Showing with 4 additions and 0 deletions
...@@ -2,4 +2,6 @@ VUE_APP_OIDC_CONFIG = '{ "authority": "https://passport.teammix.com", "client_id ...@@ -2,4 +2,6 @@ VUE_APP_OIDC_CONFIG = '{ "authority": "https://passport.teammix.com", "client_id
VUE_APP_API_BASEURL = 'https://org-team.hrs100.com/' VUE_APP_API_BASEURL = 'https://org-team.hrs100.com/'
VUE_APP_API_TEAMMIXURL=''
VUE_APP_PUBLIC_DIR='/' VUE_APP_PUBLIC_DIR='/'
\ No newline at end of file
...@@ -61,6 +61,7 @@ async function getToken(access_token, appid, next) { ...@@ -61,6 +61,7 @@ async function getToken(access_token, appid, next) {
}; };
let commonPms = GetCommonPms(); let commonPms = GetCommonPms();
let url = `${oidc_config.authority}/connect/token?${commonPms}`; let url = `${oidc_config.authority}/connect/token?${commonPms}`;
console.log('url=',url);
await axios await axios
.post(url, qs.stringify(pms)) .post(url, qs.stringify(pms))
.then( .then(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment