update auth callback
This commit is contained in:
1 parent
e6d10dbc6a
commit
d1e11b0c0a
2 files changed
+2
-2
No files matched your search
@@ -42,7 +42,7 @@ export default defineComponent({
|
||||
// callback url used to init access token and then redirect back of `redirect`
|
||||
const callbackUrl = `${dataBaseUrl}/auth/callback?redirect=${this.redirect}`;
|
||||
// redirect to auth service to get access token then redirect back
|
||||
const targetUrl = `${authBaseUrl}?redirect=${callbackUrl}`;
|
||||
const targetUrl = `${authBaseUrl}/auth/login?redirect=${callbackUrl}`;
|
||||
window.location.href = targetUrl;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ export default defineComponent({
|
||||
// callback url used to init access token and then redirect back of `redirect`
|
||||
const callbackUrl = `${dataBaseUrl}/auth/callback?redirect=${this.redirect}`;
|
||||
// redirect to auth service to get access token then redirect back
|
||||
const targetUrl = `${authBaseUrl}?redirect=${callbackUrl}`;
|
||||
const targetUrl = `${authBaseUrl}/auth/login?redirect=${callbackUrl}`;
|
||||
window.location.href = targetUrl;
|
||||
},
|
||||
methods: {}
|
||||
|
||||
Reference in new issue
Block a user