Auth UI: fix safari popup block (#24780)
This commit is contained in:
parent
a56a8b157c
commit
245615121c
1 changed files with 1 additions and 1 deletions
|
|
@ -223,7 +223,7 @@ export default defineComponent({
|
|||
validateStatus: (code) => [200, 400].includes(code),
|
||||
});
|
||||
if (response.status === 200) {
|
||||
window.open(response.data?.loginUri, "_blank");
|
||||
window.location.href = response.data?.loginUri;
|
||||
} else {
|
||||
alert(`Failed to login: ${response.data?.error}`);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue