From 639b0d972850252d3584805235fc288aa9054b5d Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Sun, 4 Jul 2021 15:29:09 +0200 Subject: [PATCH] Add oauth --- src/components/GuestBookLogin.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/GuestBookLogin.vue b/src/components/GuestBookLogin.vue index 84927f3..aa73611 100644 --- a/src/components/GuestBookLogin.vue +++ b/src/components/GuestBookLogin.vue @@ -36,11 +36,15 @@ export default defineComponent({ } const loginWithGoogle = () => { - + return $axios.get('/auth/google').then((response) => { + console.log(response) + }) } const loginWithTwitter = () => { - + return $axios.get('/auth/twitter').then((response) => { + console.log(response) + }) } return {