Get OAuth2 provider settings.
GET
CoderSessionTokenheader
Coder-Session-Token<token>OK
application/json- response
dynamic_client_registration_enabled?booleanThe samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.
curl -X GET \ "$CODER_URL/api/v2/oauth2-provider/settings" \ -H "Coder-Session-Token: $CODER_SESSION_TOKEN"Example Response200
{ "dynamic_client_registration_enabled": true}