Login Process

효딩딩·2022년 10월 24일
0

Login Process 란?

  • 원격 컴퓨터에서 운영 체제나 응용 프로그램에 엑세스 하는데 사용되는 절차

프로세스 절차

  1. 사용자가 id, 이메일을 이용하여 로그인 시도
  2. 사용자가 입력한 내용을 서버에서 DB값과 비교
  3. 일치한다면 AccessToken, RefreshToken 발급과 함께 로그인 완료!
  4. 만료된 Accesstoken으로 API요청 시 토큰 만료 에러 반환
  5. RefreshToken을 이용해 새로운 AccessToken 발급
  6. 새로운 AccessToken으로 이전에 실패한 API 재요청
  7. 정상적으로 요청에 대한 값 반환

출처:
https://velog.io/@eotkds/Login-Process
https://velog.io/@niceyoungrae/Login-Process
https://velog.io/@yjin/Login-Process


(영문 해석)

Flow of Login Process:

  1. The user submits the login credentials, i.e. Username and Password.
  2. This is verified by the server against the DataBase.
  3. The server then generates a temporary user session.
  4. The server issues a cookie with the session ID.
  5. User/ client can send the cookie with each request.
  6. The server validates it against the session store and grants access.
  7. When a user logs out, the server destroys the session and clears the cookie.

Source:
https://www.techtarget.com/searchsecurity/definition/logon
https://www.geeksforgeeks.org/understanding-web-authentication-behind-the-login-screen/

profile
어제보다 나은 나의 코딩지식

0개의 댓글