|
@ -46,7 +46,8 @@
|
|
function redirect() {
|
|
function redirect() {
|
|
var state = encodeURIComponent(JSON.stringify({
|
|
var state = encodeURIComponent(JSON.stringify({
|
|
itemIndex: 0,
|
|
itemIndex: 0,
|
|
target: target
|
|
|
|
|
|
target: target,
|
|
|
|
filter: "org_code=49229004X"
|
|
}))
|
|
}))
|
|
redirectUrl = profileServer+'/gateway/authentication/oauth/sso?response_type=token&client_id=P7dIRS0FvX&state='
|
|
redirectUrl = profileServer+'/gateway/authentication/oauth/sso?response_type=token&client_id=P7dIRS0FvX&state='
|
|
+state+'&scope=read&redirect_uri='+profileServer+'/profile/app/mprofile/html/signin.html?idCardNo='+idCard+'&user=tourists'
|
|
+state+'&scope=read&redirect_uri='+profileServer+'/profile/app/mprofile/html/signin.html?idCardNo='+idCard+'&user=tourists'
|