You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm facing this issue every time I make POST request to /oauth2/access_token. This is my scenario:
I successfully integrated the provider and created a client from the admin console, without specifying any redirect uri because i'm working on localhost and I don't have any website yet. Now, if I try to get an access token at the specified url, I will get the token only if I make the request specifying username and password of an user which is admin. For any other user I will get "error: invalid grant". I tried every kind of solution but nothing seems to work.
I also noticed a strange thing: when I get the access token with the admin user, no grant and refresh token are created in the database...is this a normal behaviour?
I can't get this to work so how can I solve the problem?
The text was updated successfully, but these errors were encountered:
I'm facing this issue every time I make POST request to /oauth2/access_token. This is my scenario:
I successfully integrated the provider and created a client from the admin console, without specifying any redirect uri because i'm working on localhost and I don't have any website yet. Now, if I try to get an access token at the specified url, I will get the token only if I make the request specifying username and password of an user which is admin. For any other user I will get "error: invalid grant". I tried every kind of solution but nothing seems to work.
I also noticed a strange thing: when I get the access token with the admin user, no grant and refresh token are created in the database...is this a normal behaviour?
I can't get this to work so how can I solve the problem?
The text was updated successfully, but these errors were encountered: