Closed Bug 1717053 Opened 4 years ago Closed 4 years ago

Authentication prompt for 401 request

Categories

(Core :: Networking: HTTP, defect)

Firefox 89
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: roma.rathi, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0

Steps to reproduce:

Microsoft authentication with Access token in the headers.
Made an API post request.
Waited for sometime for the token to get expire.
After the token is expired till the time renew token is called an api request is mad with expiry token and results in 401 error

Actual results:

An login prompt on the browser appears for the username and password.

Expected results:

Prompt should not appear for asking credentials.

Hi Roma, what is the Microsoft website you are trying to login to ? and how are you making the API post request ?
Can you please try our latest Nightly build and see if the issue occurs there as well ? you cand find it here: https://nightly.mozilla.org/

I'm not exactly sure what the issue is here or how I could reproduce it on our end but I will set a component for this issue and maybe one of our developers can take a look and they might know more on how to reproduce this issue.

Component: Untriaged → Networking: HTTP
Product: Firefox → Core

Hi Reporter,

Could you provide a sample test site that demonstrates this issue?
What do other browers behave?

Thanks.

Flags: needinfo?(roma.rathi)

(In reply to Kershaw Chang [:kershaw] from comment #2)

Hi Reporter,

Could you provide a sample test site that demonstrates this issue?
What do other browers behave?

Thanks.

Hi,
Thanks for your attention but the issue was solved by one of the persons from MSAL community.

Flags: needinfo?(roma.rathi)

(In reply to Rares Doghi from comment #1)

Hi Roma, what is the Microsoft website you are trying to login to ? and how are you making the API post request ?
Can you please try our latest Nightly build and see if the issue occurs there as well ? you cand find it here: https://nightly.mozilla.org/

I'm not exactly sure what the issue is here or how I could reproduce it on our end but I will set a component for this issue and maybe one of our developers can take a look and they might know more on how to reproduce this issue.

Hi,
Thanks for your attention but the issue was solved by one of the persons from MSAL community.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.