Add oauth

This commit is contained in:
2021-07-04 15:29:09 +02:00
parent e4a430fb45
commit 639b0d9728

View File

@@ -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 {