• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Does Net.HTTP authenticate require a realm to be returned?

New Here ,
Aug 23, 2017 Aug 23, 2017

Copy link to clipboard

Copied

I'm sending a POST to a server.  I noticed, using fiddler, acrobat sends the request twice. Once without the authentication headers and one with the authentication headers.  I have two servers, a test server, which sends back a realm with the 402, and a prod server that has no realm.  Acrobat will send the request again with the proper auth headers for the test server (i think because there's a realm), but will not send another request to the prod server, I'm assuming because it lacks a realm.

I can't find any other reason for this except to assume acrobat wants to know what realm the auth will be used in.  I tested this in POSTMAN, it works for both servers, but the authentication header is sent right away (no need for two calls).

TOPICS
Acrobat SDK and JavaScript

Views

140

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation