DEV Community

Vimal
Vimal

Posted on

Oidc /reg route curl for update client

curl -X POST \
https://your-oidc-provider.com/reg \
-H 'Content-Type: application/json' \
-d '{
"client_id": "your_client_id",
"client_secret": "your_client_secret",
"client_name": "UpdatedClientName",
"redirect_uris": ["https://updatedredirecturi.com/callback"],
"grant_types": ["authorization_code", "refresh_token"],
"response_types": ["code"],
"token_endpoint_auth_method": "client_secret_basic"
}'

Top comments (0)