cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
263
Views
0
Helpful
1
Replies
Highlighted
Beginner

unauthorized_client while getting a token from Identity Services

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
Highlighted
Beginner

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
Highlighted
Beginner

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