Skip to content

Service: OAuth2 Client Secret Reset

Eliza Margaretha edited this page May 20, 2022 · 8 revisions

** WARNING: This service is experimental and may change without any notice.

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

Parameters

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

Examples

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"
}

References

Parecki, Aaron. OAuth 2.0 Servers. [Online]. Available: https://www.oauth.com/

Advanced Setting

Developer Setting

Search services

Metadata services

Authentication and Authorization services

Client services

Super client services

Plugin services

User services

User group services

Virtual corpus (VC) services

VC sharing services

Administrative services

Description services

Clone this wiki locally