How to add additional header value into SCIM 2.0 SAAS connector in IDN

Hi All,

We are trying to connect an application by using scim 2.0 saas connector, however when we are trying to test the connection we are getting

Error Received:
[ConnectorError] 403 {“schemas”:[“urn:ietf:params:scim:api:messages:2.0:Error”],“status”:“403”,“detail”:“Request must include either the "x-as-user-id" or "x-as-user-email" header to indicate the user payload”}

We have added email in oauth headers but its not reading it and still giving an error so kindly suggest how to add it fix this error.

Regards,
Faizullah Shaik

Hi @FaizullahShaik - I suspect you’re using a Client Credential flow, which then requires a user context for the actual SCIM request (not the OAuth request). I’m not sure it’s possible to add headers to the SCIM request; so, you could try the Refresh Token flow passing the user context in the initial Authorization Code Grant OAuth request (outside ISC). Depending on the expiry of the refresh token, though, you may need to look at Custom Authentication see Refresh token renewal - #8 by pulatoi

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.