authlib / example-oauth2-server

Example for OAuth 2 Server for Authlib.
https://authlib.org/
685 stars 285 forks source link

Invalid grant after get a token #40

Closed ghost closed 6 years ago

ghost commented 6 years ago

I'm using Postman to test my requests. If I try to get a token, it works and Postman give me the Token, but in the response body I receive 'invalid_grant', it should not work, right ? how to fix it ?

My client :

image

I did try response_type as code, and code + token, grant_type as password and password + authentication_code ...

Error :

image

Token :

image