- My View
I need to make cross domain ajax request from inside OpenFrame Application, and create record in "sn_openframe_phone_log" table.
There are different ways to authenticate user, but I want to use active user's cookies to do so ("REST supports cookies for binding to the existing session." in spec)
However server responds with header «WWW-Authenticate: BASIC realm="Service-now"» requesting user credentials.
What am I doing wrong?
CORS rule is configured, we need it to be able to make the request
As you can see server response contains header:
The POST request would not be sent without the CORS rule.
In my case the request was made and it was successful, the problem is that server requires user authentication and ignores cookies.