-
Notifications
You must be signed in to change notification settings - Fork 3
Service: OAuth2 Client Secret Reset
Eliza Margaretha edited this page May 20, 2022
·
8 revisions
resets the client secret of a client. The current client secret will be replaced with a new one. Reseting client secret does not revoke any tokens. Client owner and client authentication are required. This service is not part of the official OAuth2 specification.
Available in: full version
Method: POST
Service URL: root/oauth2/client/reset
Header Parameters
Name | Required | Description | Value |
---|---|---|---|
Authorization | yes | HTTP authentication with scheme: Bearer | OAuth2 access token |
Content-Type | yes | content type of the input data | application/x-www-form-urlencoded |
Form Parameters
Name | Required | Description | Type |
---|---|---|---|
client_id | yes | the client id | String |
client_secret | yes | the client secret | String |
Request
curl -H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' -d 'client_id=JHesAWwPfR35OX3uwUmODA&client_secret=Wa3flJ_GDzeQJ_8MGDRo-g' http://localhost:8089/api/v1.0/oauth2/client/reset
Response
{ "client_id": "JHesAWwPfR35OX3uwUmODA", "client_secret": "xHMmsYZh24RVH2biVPYcmQ" }
Parecki, Aaron. OAuth 2.0 Servers. [Online]. Available: https://www.oauth.com/
- Importing Kustvakt to Eclipse
- Installing Lombok
- Setting annotation processors
- Setting test environment
- HTTP Basic Authentication
- OAuth2 authorization scopes
- OAuth2 authorization request
- OAuth2 token request
- OAuth2 token revocation
- OAuth2 client registration
- OAuth2 client info
- OAuth2 client deregistration
- OAuth2 client secret reset
- Plugin registration
- Plugin list (marketplace)
- Plugin installation
- Plugin uninstallation
- Installed plugin list
- VC creation and update
- VC deletion
- VC list
- VC info
- VC KoralQuery
- VC statistics
- VC statistics with KoralQuery