revert azure url to verify-auth-azure

This commit is contained in:
Nancy Butler 2021-02-24 14:04:36 -07:00
parent cadc872344
commit 986de53ffe
2 changed files with 3 additions and 2 deletions

View File

@ -72,7 +72,7 @@ export default {
},
replyUrl() {
return `${ window.location.origin }/verify-auth`;
return `${ window.location.origin }/verify-auth-azure`;
},
tenantId() {

View File

@ -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')