dusterio/lumen-passport

Invalid Grant

myusufid opened this issue · 1 comments

My environment
Lumen (7.0.3)

I have try request token with

POST http://domain/v1/oauth/token

with body

{
    "grant_type": "password",
    "client_id": 2,
    "client_secret": "TRBfoHkRGP9BgkhoplB4c0KgIhEOUxQMO08qCjYP",
    "username": "bomibomi",
    "password": "password",
    "scope": ""
}

its always return


{
    "error": "invalid_grant",
    "error_description": "The provided authorization grant (e.g., authorization code, resource owner credentials) or refresh token is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.",
    "hint": "",
    "message": "The provided authorization grant (e.g., authorization code, resource owner credentials) or refresh token is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client."
}

whats the problem is?

Hey @myusufid, have you ever figured out how to fix this?