Skip to content
Advertisement

Tag: angular

Laravel/Angular “Password Expired” auth flow

I am using Laravel 7.* for my API and Angular 9 for my frontend. I am having trouble figuring out how to handle Password Expiration responses from my api. My current auth workflow is this: Angular POST /login request to API with an expired password API receives POST request, authenticates the credentials. If authenticated, API checks to see if the

Laravel 5.4 Passport: unsupported_grant_type

Hello I try to do a web application and I have a problem. When I request the token from /oauth/token I receive this response: And my code is: And the request header: Response header: Post data: I don’t have any other detail. Answer You need to install a password client for Passport. Assuming you’ve installed and configured Passport, to generate

Advertisement