I tried to test creating oidc connection following this documentation
and got following errors
{"statusCode":400,"error":"Bad Request","message":"Payload validation error: 'Additional properties not allowed: { \"strategy\": \"oidc\", \"name\": \"TEST\", \"options\": { \"type\": \"front_channel\", \"issuer\": \"https://my-idp-url.com\", \"authorization_endpoint\": \"https://my-idp-url.com/oauth/authorize\", \"token_endpoint\": \"https://my-idp-url.com/oauth/token\", \"client_id\" : \"my_client_id\", \"client_secret\" : \"my_client_secret\", \"scopes\": \"openid profile\" } }'.","errorCode":"invalid_body"}
this is my cURL
curl --request POST \
--url 'https://signage-dev.auth0.com/api/v2/connections' \
--header 'authorization: Bearer <MY_TOKEN>' \
--data '{ "strategy": "oidc", "name": "TEST", "options": { "type": "front_channel", "issuer": "https://my-idp-url.com", "authorization_endpoint": "https://my-idp-url.com/oauth/authorize", "token_endpoint": "https://my-idp-url.com/oauth/token", "client_id" : "my_client_id", "client_secret" : "my_client_secret", "scopes": "openid profile" } }'
or even using this still got the same error
curl --request POST \
--url 'https://signage-dev.auth0.com/api/v2/connections' \
--header 'authorization: Bearer <MY_TOKEN>' \
--data '{}'
Is there anything I did wrong?
Thanks for your help