gray-machine-46287
07/16/2025, 8:43 AMbrief-egg-61061
07/16/2025, 8:43 AMbrief-egg-61061
07/16/2025, 8:43 AMory patch oauth2-config "{your-project-id}" \ --replace '/oauth2/client_credentials/default_grant_allowed_scope=true'
With this setting enabled, Hydra will behave similarly to MITREid and grant the client's allowed scopes when none are specified in the request for the client_credentials flow. Outside of this specific configuration, Hydra does not automatically add or request scopes that the client did not explicitly request in the OAuth2 flow. The consent app or webhook can also influence granted scopes, but these require explicit logic or configuration by the implementer, not automatic addition by Hydra itself [see Migrating from MITREid](https://www.ory.sh/docs/hydra/self-hosted/migrating-from-mitreid).