07-07-2020 01:05 PM
I've added a client in Identity Service Management which gave me a client_id and I added a redirect_uri in there, but there's no client_secret.
I am able to get an authorization code by hitting /ids/v1/oauth/authorize but I cannot get a token by passing that code to /ids/v1/oauth/access_token (I'm filling in client_id, redirect_uri, code, grant_type in the form values). The response I get is {"error": "unauthorized_client","error_description": "Invalid credentials."}. I assume it's because I'm missing the client_secret, but where do I get it? I didn't get one when I made the client in Identity Service Management.
Solved! Go to Solution.
07-07-2020 02:27 PM
I was able to get this to work by sending a basic authorization header with the client_id and no password.
07-07-2020 02:27 PM
I was able to get this to work by sending a basic authorization header with the client_id and no password.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide