issues
search
ikaem
/
five_on_4_backend
0
stars
0
forks
source link
adjust login with password and email controller
#2
Open
ikaem
opened
4 months ago
ikaem
commented
4 months ago
as a developer, i want that the login controller
to get validated body data
to check if email exists
to check if password patches
it should generate access token
it should set access token in header of the request
it should generate refresh token
it should set refresh token in the http only cookie
it should generate response body with user id, user name, user nickname, message, and ok true
strategy
create use case to create access token
create use case to create refresh tokn cookie
as a developer, i want that the login controller
strategy