Closed smgcknt-tech closed 3 years ago
Although accessToken is returned from backend, auth processing fails and error 400 is displayed.
Cause. AWS cloudfront was discarding the request headers from the client.
It was dealt with by the following method. -Created a whitelist in the cache policy of awscloudfront and enabled to allow custom header "access_token" to be sent to the origin server.
Possible cause -SSL authentication implemented yesterday.
Confirmed information -After entering the login information,Apparently, the login function has been working, but after that, the JWT access token that should remain in the localStrage is not held, and the logout process runs immediately.So the cause is likely to be the API code around user authentication or the frontend code that receives the jWT.