IBM Support

IBM Security Guardium: Requesting for an access token fails with bad credentials error

Troubleshooting


Problem

Following error occurs while sending request for an access token along with the client secret to the Guardium appliance using curl command-line tool.
 
curl -X POST -k -i -d "grant_type=password&client_id=client1&client_secret=b1f242a2-1e86-46d6-bf42 6298556c2eea&username=testuser&password=*******"  https://example.yourdomain.com:8443/oauth/token

{"error":"invalid_grant","error_description":"Bad credentials"}

Document Location

Worldwide

[{"Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSMPHH","label":"IBM Security Guardium"},"ARM Category":[{"code":"a8m0z0000001errAAA","label":"GRDAPI"}],"ARM Case Number":"TS003901526","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
22 September 2020

UID

ibm16327205