<script setup lang="ts">
// The auth plugin completes the OIDC code exchange during init() before mount.
// This page just returns to the app root.
onMounted(() => {
  navigateTo("/", { replace: true });
});
</script>

<template>
  <main class="callback">
    <p>Signing you in…</p>
  </main>
</template>

<style scoped>
.callback {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  background: #f4f1ea;
  color: #837a6b;
  font: 500 1rem/1.4 "Spline Sans", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  .callback {
    background: #181410;
    color: #9d9281;
  }
}
</style>
