-
Notifications
You must be signed in to change notification settings - Fork 784
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
POST http://passport.dev/oauth/token
resulted in a 400 Bad Request
response:
#20
Comments
Not sure why this is, and it's probably caused by the PHP League OAuth2 package, but you must pass your |
Thank you @adamgoose
string is passed for |
the problem was fixed . the problem was due to differences in |
@chagamkamalakar Thanks for your typo correction. I was also suffered from same issue. you save my day. |
Create a variable in .env and changed value according your App URL instead localhost and use during post URL. GUZZLE_POST_URL='localhost/oauth/token' $user = Auth::user(); |
create a new client and use it |
i am following laracasts video to set up passport, but it's giving the exception on Guzzle request in callback
code :
it seems the redirect_uri is null in $authCodePayload in file
AuthCodeGrant.php
line number 97 after decrypting the authcode value.The text was updated successfully, but these errors were encountered: