Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
survey
Commits
fda21b20
Commit
fda21b20
authored
Dec 25, 2022
by
Yoon, Daeki
😅
Browse files
Merge branch 'login-api' into main-login-merge
parents
84859bc2
ed3d6ae9
Changes
21
Show whitespace changes
Inline
Side-by-side
src/routes/auth.route.ts
View file @
fda21b20
...
@@ -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
;
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment