mirror of https://github.com/rancher/dashboard.git
revert azure url to verify-auth-azure
This commit is contained in:
parent
cadc872344
commit
986de53ffe
|
|
@ -72,7 +72,7 @@ export default {
|
|||
},
|
||||
|
||||
replyUrl() {
|
||||
return `${ window.location.origin }/verify-auth`;
|
||||
return `${ window.location.origin }/verify-auth-azure`;
|
||||
},
|
||||
|
||||
tenantId() {
|
||||
|
|
|
|||
|
|
@ -126,7 +126,7 @@ export const actions = {
|
|||
const params = { response_type: 'code', response_mode: 'query' };
|
||||
|
||||
redirectUrl = addParams(redirectUrl, params );
|
||||
returnToUrl = `${ window.location.origin }/verify-auth`;
|
||||
returnToUrl = `${ window.location.origin }/verify-auth-azure`;
|
||||
}
|
||||
|
||||
const nonce = await dispatch('setNonce', opt);
|
||||
|
|
@ -143,6 +143,7 @@ export const actions = {
|
|||
}
|
||||
|
||||
let url = removeParam(redirectUrl, GITHUB_SCOPE);
|
||||
|
||||
const params = {
|
||||
[GITHUB_SCOPE]: scopes.join(','),
|
||||
[GITHUB_NONCE]: base64Encode(nonce, 'url')
|
||||
|
|
|
|||
Loading…
Reference in New Issue