Created
July 31, 2018 01:56
-
-
Save bryansray/e8da21e157c0b3d9ffde8d53ee3333d2 to your computer and use it in GitHub Desktop.
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
<script lang="ts"> | |
import Vue from "vue"; | |
import { mapActions } from "vuex"; | |
import router from "@/router"; | |
export default Vue.extend({ | |
name: 'callback', | |
data (): any { | |
this.handleAuthentication(); | |
router.replace('/'); | |
return {}; | |
}, | |
methods: mapActions("session", ["handleAuthentication"]), | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment