cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1113
Views
0
Helpful
1
Replies

unauthorized_client while getting a token from Identity Services

NickLynch35638
Level 1
Level 1

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.

1 Accepted Solution

Accepted Solutions

NickLynch35638
Level 1
Level 1

I was able to get this to work by sending a basic authorization header with the client_id and no password.

View solution in original post

1 Reply 1

NickLynch35638
Level 1
Level 1

I was able to get this to work by sending a basic authorization header with the client_id and no password.