-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(auth): setup a basic oidc callback error view with retry button
- Loading branch information
1 parent
ff73a3c
commit 931d5d0
Showing
5 changed files
with
44 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.oidc-callback-error-view { | ||
width: 100vw; | ||
height: 100vh; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,31 @@ | ||
<template> | ||
<div class="oidc-callback-error-view"> | ||
{{ $t("oidc.callbackErrorMessage") }} | ||
<h1>{{ $t("oidc.callbackErrorMessage") }}</h1> | ||
<BIMDataButton fill radius color="primary" @click="goToRoot"> | ||
{{ $t("oidc.tryAgain") }} | ||
</BIMDataButton> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import { useRouter } from "vue-router"; | ||
// Components | ||
import BIMDataButton from "@bimdata/design-system/dist/js/BIMDataComponents/vue3/BIMDataButton.js"; | ||
export default { | ||
components: { | ||
BIMDataButton | ||
}, | ||
setup() { | ||
const router = useRouter(); | ||
const goToRoot = () => router.push("/"); | ||
return { | ||
goToRoot | ||
}; | ||
} | ||
}; | ||
</script> | ||
|
||
<style scoped lang="scss" src="./OidcCallbackError.scss"></style> |