mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-27 01:50:26 +01:00
Add OAuth
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user