mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-01-22 16:00:39 +01:00
Add oauth
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user