authlib / example-oauth2-server

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

why client get invalid_request error message and 302 http status code #84

Open bohau opened 3 years ago

bohau commented 3 years ago

Hi,

I got error from authorization.validate_consent_request in /oauth/authorize route api. "GET /oauth/authorize?response_type=code&client_id=AF58CFlIrh3XCChtC52Bfee2&redirect_uri=http%3A%2F%2Ftestclient.com%3A7070%2Fauthorize&scope=profile&state=Ygo1m4h6MZLn7dGc7dtGcGG67YaEdL HTTP/1.1" 200 But client code get http status 302.