2 Replies · Latest reply on Jul 18, 2017 10:16 AM by Igor Knyazev

    How to bind existing session with cookies to make cross domain REST request

      Hi All,

       

      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?

       

      OPTIONS request

       

      POST