Skip to content

oauth2 webhook: granted_scopes always empty for authorization_code #3969

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 tasks done
sousandrei opened this issue Mar 27, 2025 · 0 comments · May be fixed by ory/fosite#848
Open
3 tasks done

oauth2 webhook: granted_scopes always empty for authorization_code #3969

sousandrei opened this issue Mar 27, 2025 · 0 comments · May be fixed by ory/fosite#848
Labels
bug Something is not working.

Comments

@sousandrei
Copy link

sousandrei commented Mar 27, 2025

Preflight checklist

Ory Network Project

No response

Describe the bug

Related to #3620
But when running OIDC flows with a token hook, the call does not include granted_scopes

Reproducing the bug

Same steps as #3620

Relevant log output

Relevant configuration

Version

2.3.0

On which operating system are you observing this issue?

None

In which environment are you deploying?

None

Additional Context

Working on a PR to address this #3970

@sousandrei sousandrei added the bug Something is not working. label Mar 27, 2025
tilgovi added a commit to tilgovi/fosite that referenced this issue Apr 9, 2025
Callers may wish to see the granted scope and audience of a auth code
flow updated by the token endpoint handler, before responding to the
token request. Move calls to set the granted scope and audience from
`AuthorizeExplicitGrantHandler.PopulateTokenEndpointResponse` to the
`AuthorizeExplicitGrantHandler.HandleTokenEndpointRequest` method.

Fix [ory/hydra#3969](ory/hydra#3969).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant