I am trying to use OKTA provisioning using SCIM endpoint for getting data from OKTA to my local DataBase.
So, I have created scim endpoint for my SCIM 2.0 Test App (OAuth Bearer Token) using NODE.js and MongoDB as Database. When I assign new User to this Application OKTA provisioning server send the GET request which responded with expected output.
So, than OKTA server sends the POST request with /users . But it has empty body in it instead of containing valid JSON. And so my scim endpoint responds with an error and OKTA shows error 500. So, let me know in which format/part (like BODY, PARAMETERS) OKTA server might be sending USER JSON to create new user.
Its not an empty request,
OKTA uses application/scim+json
as content-type
, configure your server to accept the header and process it further to find the req body content.