Closed
Description
Describe the bug
When requesting an id_token with the authorization code flow, the TOKEN endpoint returns a state
, but state
is only a response's parameter for the AUTHORIZE endpoint.
How to reproduce
- Implement OIDC support in oauthlib for
authorization_code
. - Send a valid
/authorize
request with a state - Send a valid
/token
request, and seestate=None
in the response.
Expected behavior
We should have the state only in the /authorize
response (e.g. for code or implicit's response).
Additional context
-
Are you using OAuth1, OAuth2 or OIDC?
OIDC -
Are you writing client or server side code?
Server side