Error: Invalid client_id when requesting an Access Token
search cancel

Error: Invalid client_id when requesting an Access Token

book

Article ID: 374654

calendar_today

Updated On:

Products

VIP Authentication Hub

Issue/Introduction


Running VIP Authentication Hub, when requesting an Access Token by this URL:

    https://{{sspMgmtHost}}/system/oauth2/v1/token

then the command returns an error:

    {
    "clientTxnid": null,
    "error": "invalid_request",
    "error_description": "Invalid client_id"
    }

Trying to get the values of the system client secret, but it seems it doesn't exist:    

  # kubectl get secret "<server>-ssp-secret-systemclient" -n "ssp" -o jsonpath="{.data.clientId}" | base64 --decode

  Error from server (NotFound): secrets "<server>-ssp-secret-systemclient" not found

How to get those values:

  • systemClientID
  • systemClientSecret

 

Resolution


To recover the id and the password for the systemClientId and systemClientSecret, make a break-glass recovery (1):

"Break-Glass procedure for the "default clients" (Infra, System,Tenant -Admin and Demo clients):

 In case you missed to save the deployment Client IDs and their secrets within the 48 hours window, use the following break-glass procedure (valid for the next 48 hours)"

 

Additional Information