miniature-waitress-95147
05/03/2024, 4:59 PMory patch oauth2-config xxxaa3cb-xxxx-yyyy-a6df-xxxyyyfeef89 --add '/oauth2/token_hook="<https://YOUR-WEBHOOK-ENDPOINT>"'
Error: value for /services/oauth2/config'/oauth2/token_hook/url must be valid JSON but got: <https://YOUR-WEBHOOK-ENDPOINT>'
update: solved for me by using double quotes
ory patch oauth2-config xxxaa3cb-xxxx-yyyy-a6df-xxxyyyfeef89 --add "/oauth2/token_hook=\"<https://YOUR-WEBHOOK-ENDPOINT>\""
refined-kangaroo-48640
05/03/2024, 6:09 PMminiature-waitress-95147
05/06/2024, 7:56 AMminiature-waitress-95147
05/06/2024, 9:17 AMory patch oauth2-config xxxaa3cb-xxxx-yyyy-a6df-xxxyyyfeef89 --add "/oauth2/token_hook=\"<https://YOUR-WEBHOOK-ENDPOINT>\""
The requested action was forbidden
So to change these properties or to setup an oauth2 webhook is not allowed within a developer account?
Pricing page says "Actions and Webhooks" = (/) for dev accounts.refined-kangaroo-48640
05/06/2024, 11:16 AMrefined-kangaroo-48640
05/06/2024, 11:17 AMminiature-waitress-95147
05/06/2024, 12:00 PMrefined-kangaroo-48640
05/06/2024, 6:16 PMminiature-waitress-95147
06/03/2024, 10:26 AM$ ory patch oauth2-config xxxd4307-yyyy-zzzz-a4f0-xxxyyy5b729e --replace "/oidc/dynamic_client_registration/enabled=true"
I[#/oauth2/token_hook] S[#/properties/oauth2/properties/token_hook/oneOf] oneOf failed
I[#/oauth2/token_hook] S[#/properties/oauth2/properties/token_hook/oneOf/0/type] expected string, but got object
I[#/oauth2/token_hook] S[#/properties/oauth2/properties/token_hook/oneOf/1/$ref] doesn't validate with "#/definitions/webhook_config"
I[#/oauth2/token_hook/auth] S[#/definitions/webhook_config/properties/auth] validation failed
I[#/oauth2/token_hook/auth/type] S[#/definitions/webhook_config/properties/auth/properties/type/const] value must be "api_key"
I[#/oauth2/token_hook/auth/config/in] S[#/definitions/webhook_config/properties/auth/properties/config/properties/in/enum] value must be one of "header", "cookie"