use laravel passport as api authentication. A valid token has been applied for using the authorization code.
works well in postman :

javascript


javascript :
I said that I am particularly speechless, why postman using token is normal, and then javascript uses token access but authentication is not successful for redirection!
