• Resolved ocatcloudapps

    (@ocatcloudapps)


    Hi,
    I’m using authorization code grant type and I don’t think your OIDC client is sending the code to our IDS4. It should be like this :-

    POST /connect/token client_id=client1& client_secret=secret& grant_type=authorization_code&code=hdh922

    Our IDS4 server responds with :-

    "GrantType": "authorization_code",
    "Error": "invalid_request",
    "ErrorDescription": "code challenge required",
    "Category": "Token",
    "Name": "Token Issued Failure"

    In IDS4 Client config I have:-

    AllowedGrantTypes = GrantTypes.Code;
    AllowedScopes = new List<string>() {"OpenId", "Profile" }

    Plus all the clientid, secret, urls etc set up correctly (we use IDS4 & OIDC for our WebClients)

    Can you help please?
    Thanks in advance
    Nigel

Viewing 1 replies (of 1 total)
  • Plugin Author miniOrange

    (@cyberlord92)

    Hi Nigel,

    It looks like the PKCE flow is enabled on the ID4 side. Could you please disable it and try again with the same grant?

    Please raise a query from the support form inside the plugin so that we can assist you with the setup quickly.

Viewing 1 replies (of 1 total)
  • The topic ‘IDS 4 – Authorisation Code not working’ is closed to new replies.