Add OAuth

This commit is contained in:
2021-05-22 11:28:42 +02:00
parent 66b4709011
commit b4c2b634d4
7 changed files with 177 additions and 4 deletions

View File

@@ -75,4 +75,8 @@ Route.group(() => {
Route.post('/api/login', 'AuthController.loginApi')
Route.post('/api/logout', 'AuthController.logoutApi')
Route.get('/twitter', 'AuthController.twitter')
Route.get('/github', 'AuthController.github')
Route.get('/google', 'AuthController.google')
}).prefix('auth')