UNPKG

409 BPlain TextView Raw
1<template>
2 <div>
3 Callback
4 </div>
5</template>
6
7<script>
8 export default {
9 name: 'callback',
10 props: ['auth'],
11 data () {
12 // Degub
13 this.$log.debug('callback', this.$auth.authenticated)
14 if (!this.$auth.authenticated) {
15 this.$auth.handleAuthentication()
16 }else{
17 this.$router.push('/dashboard')
18 }
19 return {}
20 }
21 }
22</script>
23
24<style>
25</style>
\No newline at end of file