Closed joeyb-okta closed 8 months ago
I tested createUser and it's working fine using default plugin-mssql and the example database table
I think you have made some customizations and you probably have to look into your code. checkUserExist is not a method in default plugin-mssql
If createUser method do not return id or full userObject with id (default plugin-mssql do not return id), gateway will try to lookup user using syntax:
GET /Users?filter=userName eq "xxx"&attributes=id,userName
Failure you mention could be related to user lookup not supported
Take a look at #114
I get the above error message as a 500 response from the scimgateway to an Okta OPP agent server. I have enabled the loki plugin and receive no errors and the users are provisioned correctly.
I can pull user accounts from the target MSSQL DB with no problem, but cannot provision users from the IdP (Okta) into the DB.
Based on the logs, it appears that the checkUserExists method executes without error, but I get the 500 response on createNewUser.
I am testing using Okta with the On-Premises Provisioning agent. I can provide additional details as needed. It is possible I have a configuration issue that is causing this but I'm unsure what else to look for.