|
@@ -69,7 +69,7 @@ const portal = 'http://p.seec.seecoder.cn'
|
|
|
export const getLoginUrl = () => {
|
|
export const getLoginUrl = () => {
|
|
|
console.log(portal)
|
|
console.log(portal)
|
|
|
const location = window.location
|
|
const location = window.location
|
|
|
- return `${portal}/api/interaction?client_id=seec-mooc&redirect_uri=${encodeURIComponent(
|
|
|
|
|
|
|
+ return `${portal}/interaction?client_id=seec-mooc&redirect_uri=${encodeURIComponent(
|
|
|
location.origin + '/'
|
|
location.origin + '/'
|
|
|
)}&scope=openid`
|
|
)}&scope=openid`
|
|
|
}
|
|
}
|