plain-megabyte-75926
03/24/2025, 8:53 AMwildcard
to hierarchic
with the following CLI (version 1.1.0
) command ory patch oauth2-config --project <project-id> --replace '/strategies/scope="hierarchic"'
, I'm getting the error I[#/strategies/scope] S[#/properties/strategies/properties/scope/enum] value must be one of "exact", "wildcard"
. Any ideas why there are only two possible values available? Is there a workaround to overcome this issue?steep-lamp-91158
plain-megabyte-75926
03/24/2025, 11:35 AMhierarchic
scope strategy only exists for OAthkeeper
? Since we would like to use the hierarchic
scoping mechanism in our upcoming project, do you intend to implement this in the upcoming weeks?plain-megabyte-75926
03/24/2025, 11:40 AMwildcard
scope stratgey with scopes inventory
, inventory.product
, inventory.bundle
for a OAuth Client, then I'm getting the following error, when requesting the scope inventory.*
:
Request:
POST <BaseURL>/oauth2/token
{
"grant_type": "client_credentials",
"client_id": "c1d049cc-6efa-4b83-a776-69bd84ec089b",
"client_secret": "0ifDzr.wufYbxYKMhvPolBT-zI",
"scope": "inventory.*"
}
Response:
{
"error": "invalid_scope",
"error_description": "The requested scope is invalid, unknown, or malformed. The OAuth 2.0 Client is not allowed to request scope 'inventory.*'."
}
steep-lamp-91158
steep-lamp-91158
magnificent-energy-493
plain-megabyte-75926
03/26/2025, 6:57 AM