Compare commits
1 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
02202fc537 |
|
|
@ -40,7 +40,7 @@ if (!qiankunWindow.__POWERED_BY_QIANKUN__) {
|
||||||
const queryParams = new URLSearchParams(window.location.search)
|
const queryParams = new URLSearchParams(window.location.search)
|
||||||
const access_token = queryParams.get('access_token')
|
const access_token = queryParams.get('access_token')
|
||||||
const token_type = queryParams.get('token_type')
|
const token_type = queryParams.get('token_type')
|
||||||
const airporId = queryParams.get('airporId')
|
const airportId = queryParams.get('airportId')
|
||||||
|
|
||||||
let oidcSession = {
|
let oidcSession = {
|
||||||
access_token: access_token,
|
access_token: access_token,
|
||||||
|
|
@ -48,7 +48,7 @@ if (!qiankunWindow.__POWERED_BY_QIANKUN__) {
|
||||||
}
|
}
|
||||||
|
|
||||||
oidcSession = JSON.stringify(oidcSession)
|
oidcSession = JSON.stringify(oidcSession)
|
||||||
window.iframe_AirPortID = airporId
|
window.iframe_AirPortID = airportId
|
||||||
sessionStorage.setItem(`oidc.user:${VITE_APP_AUTHORITY}:${VITE_APP_CLIENT_ID}`, oidcSession)
|
sessionStorage.setItem(`oidc.user:${VITE_APP_AUTHORITY}:${VITE_APP_CLIENT_ID}`, oidcSession)
|
||||||
let access_token_str = `Bearer ${access_token}`
|
let access_token_str = `Bearer ${access_token}`
|
||||||
//设置token
|
//设置token
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue