Hi Thomas can we reopen this ticket.
I did some tests and fixed the earlier issue that had to do with mappings. Now I get the following error after authenticating for my IDP
"
{"name":"StatusCodeError","statusCode":401,"message":"401 - \"{\\\"error\\\":\\\"invalid_client\\\",\\\"error_description\\\":\\\"Client authentication failed (e.g. unknown client, no client authentication included, or unsupported authentication method). The authorization server MAY return an HTTP 401 (Unauthorized) status code to indicate which HTTP authentication schemes are supported. If the client attempted to authenticate via the Authorization request header field, the authorization server MUST respond with an HTTP 401 (Unauthorized) status code, and include the WWW-Authenticate response header field matching the authentication scheme used by the client.\\\"}\"","error":"{\"error\":\"invalid_client\",\"error_description\":\"Client authentication failed (e.g. unknown client, no client authentication included, or unsupported authentication method). The authorization server MAY return an HTTP 401 (Unauthorized) status code to indicate which HTTP authentication schemes are supported. If the client attempted to authenticate via the Authorization request header field, the authorization server MUST respond with an HTTP 401 (Unauthorized) status code, and include the WWW-Authenticate response header field matching the authentication scheme used by the client.\"}","options":{"method":"POST","uri":"https://jemstep.icurity.lab/oxauth/restv1/token","headers":{"Authorization":"Basic QCE0RTBCLjlBMzEuMkMwNi5DNzE4ITAwMDEhQUY5NS43QkRBITAwMDghMjVBNy5DOEUxLkJBMzMuQzFCQjolbHV1QGRtaW4xMjM=","content-type":"application/x-www-form-urlencoded"},"form":{"grant_type":"authorization_code","code":"40e72e2c-fc0b-4c22-9314-6acbe87ce04b","redirect_uri":"http://passport-saml-demo-app.example.com:3000/profile/"},"resolveWithFullResponse":true,"simple":true,"transform2xxOnly":false},"response":{"statusCode":401,"body":"{\"error\":\"invalid_client\",\"error_description\":\"Client authentication failed (e.g. unknown client, no client authentication included, or unsupported authentication method). The authorization server MAY return an HTTP 401 (Unauthorized) status code to indicate which HTTP authentication schemes are supported. If the client attempted to authenticate via the Authorization request header field, the authorization server MUST respond with an HTTP 401 (Unauthorized) status code, and include the WWW-Authenticate response header field matching the authentication scheme used by the client.\"}","headers":{"date":"Tue, 03 Apr 2018 09:11:20 GMT","server":"Jetty(9.3.15.v20161220)","x-xss-protection":"1; mode=block","x-content-type-options":"nosniff","strict-transport-security":"max-age=31536000; includeSubDomains","www-authenticate":"Basic realm=\"oxAuth\"","content-type":"application/json;charset=iso-8859-1","connection":"close","transfer-encoding":"chunked"},"request":{"uri":{"protocol":"https:","slashes":true,"auth":null,"host":"jemstep.icurity.lab","port":443,"hostname":"jemstep.icurity.lab","hash":null,"search":null,"query":null,"pathname":"/oxauth/restv1/token","path":"/oxauth/restv1/token","href":"https://jemstep.icurity.lab/oxauth/restv1/token"},"method":"POST","headers":{"Authorization":"Basic QCE0RTBCLjlBMzEuMkMwNi5DNzE4ITAwMDEhQUY5NS43QkRBITAwMDghMjVBNy5DOEUxLkJBMzMuQzFCQjolbHV1QGRtaW4xMjM=","content-type":"application/x-www-form-urlencoded","content-length":152}}}}
"
I have attached the log file