JWT을 이용하여 개인의 id 토큰을 얻은 뒤
토큰을 가진 사람만 이용 할 수 있게 설정한다.


공식 사이트:
JWT.IO
JSON Web Tokens are an open, industry standard RFC 7519 method for representing claims securely between two parties.
jwt.io
Flask-JWT-Extended 라이브러리 옵션 설명:
https://flask-jwt-extended.readthedocs.io/en/latest/options/
Configuration Options — flask-jwt-extended 4.4.2 documentation
JSON Body Options: These are only applicable if a route is configured to accept JWTs via the JSON body. JWT_JSON_KEY What key should contain the access token in the JSON body of a request. Default: "access_token" JWT_REFRESH_JSON_KEY What key should contai
flask-jwt-extended.readthedocs.io
'백엔드' 카테고리의 다른 글
| API_TEST flask JWT (JSON Web Token) (0) | 2022.07.02 |
|---|---|
| API_TEST flask 활용 로그인 API 만들기 (0) | 2022.07.02 |
| API_TEST flask 활용 회원가입 API 만들기 (0) | 2022.07.02 |
| API_TEST flask POST 코드 사용하기 (0) | 2022.07.02 |
| API_TEST flask PUT 코드 사용하기 (0) | 2022.07.02 |