|
|
@@ -3,6 +3,7 @@
|
|
|
v-show="widget !== null"
|
|
|
ref="widget"
|
|
|
:challengeurl="runtimeConfig.public.challengeUrl"
|
|
|
+ :expire="expire"
|
|
|
debug
|
|
|
/>
|
|
|
</template>
|
|
|
@@ -16,6 +17,9 @@ import type { PropType } from '@vue/runtime-core'
|
|
|
const runtimeConfig = useRuntimeConfig()
|
|
|
const appStore = useAppStore()
|
|
|
|
|
|
+// Setup a 15min expiration date for the payload
|
|
|
+const expire: number = 15 * 60 * 1000
|
|
|
+
|
|
|
const widget: Ref<HTMLElement | null> = ref(null)
|
|
|
|
|
|
defineProps({
|