Describe the bug
When I go to the route /login/token/[token] to use the customer login with JWT, the request errors.
The request to the GraphQL API for the JWT login is successful, however a call is made to handleCartLogin within the loginWithJwt function inside core/auth which errors, which causes the auth to not be successful
To Reproduce
Steps to reproduce the behavior:
- Create a customer SSO JWT
- Go to
/login/token/[token] replacing [token] with the JWT
- This should error and take you to the login, however the JWT login has actually been succesfull.
Expected behavior
Should login successfully with JWT.
Screenshots
If applicable, add screenshots to help explain your problem.
Showing that the GraphQL API returned successfully

A couple of steps through where after it errors

Describe the bug
When I go to the route
/login/token/[token]to use the customer login with JWT, the request errors.The request to the GraphQL API for the JWT login is successful, however a call is made to
handleCartLoginwithin theloginWithJwtfunction insidecore/authwhich errors, which causes the auth to not be successfulTo Reproduce
Steps to reproduce the behavior:
/login/token/[token]replacing[token]with the JWTExpected behavior
Should login successfully with JWT.
Screenshots
If applicable, add screenshots to help explain your problem.
Showing that the GraphQL API returned successfully

A couple of steps through where after it errors
