By: Ramkumar Chandrasekaran user 26 May 2017 at midnight CDT

4 Responses
Ramkumar Chandrasekaran gravatar
We are getting 406 error when /userinfo endpoint called with header accept/application-json. Based on other ticket, this issue is solved in jwks endpoint. Can you please confirm this will be taken care in /userinfo endpoint? Thanks Ramkumar.C

By Aliaksandr Samuseu staff 26 May 2017 at 5:40 a.m. CDT

Aliaksandr Samuseu gravatar
Hi, Ram. While we are waiting for Javier's response, could you provide more details about issue you're facing? Your description is a bit too brief. What OIDC flow do you use? What is the full text of error you receive? Have you checked [oxAuth's logs](https://gluu.org/docs/ce/3.0.1/operation/logs/#oxauth-logs) for any clues? I would also ask you to do a capture of your failing flow with **SAMLTracer** Firefox's plugin and share it with us. >Based on other ticket, this issue is solved in jwks endpoint. Could you please provide links on the tickets which, in your opinion, describe the same issue?

By Javier Rojas staff 26 May 2017 at 2:52 p.m. CDT

Javier Rojas gravatar
Hello Ramkumar, The /userinfo endpoint works well with or without HTTP header "Accept: application/json". Please check the following examples of possible requests to /userinfo endpoint to compare with yours: ``` GET /oxauth/seam/resource/restv1/oxauth/userinfo HTTP/1.1 Host: ce-dev3.gluu.org Authorization: Bearer ad2b0402-2bcf-4a09-a0f8-91e3561bde7e Accept: application/json Cache-Control: no-cache ``` ``` GET /oxauth/seam/resource/restv1/oxauth/userinfo?access_token=ad2b0402-2bcf-4a09-a0f8-91e3561bde7e HTTP/1.1 Host: ce-dev3.gluu.org Accept: application/json Cache-Control: no-cache ``` ``` POST /oxauth/seam/resource/restv1/oxauth/userinfo HTTP/1.1 Host: ce-dev3.gluu.org Accept: application/json Cache-Control: no-cache Content-Type: application/x-www-form-urlencoded access_token=ad2b0402-2bcf-4a09-a0f8-91e3561bde7e ```

By Ramkumar Chandrasekaran user 30 May 2017 at 11:55 a.m. CDT

Ramkumar Chandrasekaran gravatar
We will check and keep you posted. Thanks Regards Ramkumar.C

By Mohib Zico Account Admin 07 Jun 2017 at 12:07 p.m. CDT

Mohib Zico gravatar
Hi Ramkumar, Do you want to keep this ticket open?