Commit fda21b20 authored by Yoon, Daeki's avatar Yoon, Daeki 😅
Browse files

Merge branch 'login-api' into main-login-merge

parents 84859bc2 ed3d6ae9
...@@ -5,9 +5,14 @@ const router = express.Router(); ...@@ -5,9 +5,14 @@ const router = express.Router();
router.route("/signup").post(authCtrl.signup); router.route("/signup").post(authCtrl.signup);
router.route("/login").post(authCtrl.login); router.route("/login").post(authCtrl.login);
// router.route("/login/kakao").get(authCtrl.kakaoLogin);
router.route("/logout").get(authCtrl.logout); router.route("/logout").get(authCtrl.logout);
router.route("/oauth/kakao").post(authCtrl.kakaoAuthenticate); router.route("/oauth").post(authCtrl.saveOauthKeys);
router.route("/oauth/kakao/token").post(authCtrl.kakaoAuthenticate);
router.route("/oauth/:socialType").get(authCtrl.getOauthKeys);
// router.param("socialType", authCtrl.getOauthKeys);
export default router; export default router;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment