By: sheeja christi user 13 Jul 2020 at 8:12 a.m. CDT

1 Response
sheeja christi gravatar
while calling https:///identity/restv1/scim/v2/Users api it always redirect to error.html It should register new user Example: I have a web application that uses Gluu for client login. The login succeeds and I got the access token that I used for further request. Then I add new user from my application and pass the details using scim api call "https:///identity/restv1/scim/v2/Users ". But it fails with error message"Access to fetch at 'https:///identity/restv1/scim/v2/Users' from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request. All GET request are working fine. but while using POST method, the request fails with error.html page. The error got is "307 Temporary Redirect". I have enabled Cors in Json Configuration . I got this request working fine in Postman but from the browser only it blocks the request

By Mohib Zico staff 14 Jul 2020 at 1:55 p.m. CDT

Mohib Zico gravatar
Hello Sheeja, oxtrust log should have indication what is happening with SCIM operation. Please check that first. If nothing coming in default logging; enable DEBUG and let's move forward. Location of logs and how to enabling DEBUG logging is available in our doc. Thanks!