<template>
    <p>Loading...</p>
</template>

<script>
import account from "../api/account";
import router from "../router";
import store from "../store";

let url = new URL(location.href).searchParams.get("code");
if (url) {
    account.signinRedirectCallback();
    router.replace("/");
}
</script>
