-
-
Notifications
You must be signed in to change notification settings - Fork 498
Closed
Labels
BugOAuth2-ProviderThis impact the provider part of OAuth2This impact the provider part of OAuth2OIDCOpenID ConnectOpenID Connect
Milestone
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
/authorizerequest with a state - Send a valid
/tokenrequest, and seestate=Nonein 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
skion
Metadata
Metadata
Assignees
Labels
BugOAuth2-ProviderThis impact the provider part of OAuth2This impact the provider part of OAuth2OIDCOpenID ConnectOpenID Connect