Skip to content

Commit

Permalink
redirect provider url
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanghoon committed Dec 4, 2023
1 parent 2c7dfb6 commit 4795b59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/designer/modeling/StorageBaseAceBase_.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
return new Promise(function (resolve, reject) {
userInfo.displayName = userInfo.username;
let host = JSON.parse(JSON.stringify(window.location.host))
window.$acebase.auth.startAuthProviderSignIn(window.PROVIDER, `http://${window.location.host}/?oauth=acebase`)
window.$acebase.auth.startAuthProviderSignIn(window.PROVIDER, `${window.location.protocol}//${window.location.host}/?oauth=acebase`)
.then(redirectUrl => {
window.location = redirectUrl; // Send user to auth provider's login screen
});
Expand Down

0 comments on commit 4795b59

Please sign in to comment.