Closed Bug 1662744 Opened 6 years ago Closed 4 years ago

MSAL cookies seem be missing on incognito mode

Categories

(Core :: Networking: Cookies, defect)

80 Branch
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: rahmhatre, Unassigned)

Details

Attachments

(1 file)

Attached image ClientLogin.gif

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36

Steps to reproduce:

Open Firefox Incognito mode
Goto our testing site
Enter the client email id
We are redirected into microsoft login page to enter the client's password

Tech Stack:
Angular frontend
MSAL.js library for user authentication
Microsoft AD accounts for authorising the client's credentails

Actual results:

Once the client clicks login we are redirected into the app and gets landed back to the login page.

Now that you are back on the login page, the client enter's his email again and clicks login he does not get redirected into microsoft login but gets logged into the landing page.

On further inspection it seems like MSAL.js depends on some cookies and localStorage to store the JWT token fetched from MSFT after authentication. It cannot store them locally and thus landing it back on the login screen.
This behaviour does not seem to be the case on Firefox normal window, the client gets logged in one the 1st attempt.

Expected results:

We expect to land inside the landing page after authentication on the 1st attempt.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

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

Baku, how is the right person to look at this now?

Flags: needinfo?(amarchesini)

Hello, are you still able to reproduce this?
Thanks.

Flags: needinfo?(amarchesini) → needinfo?(rahmhatre)

Close because we don't have enough information.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Flags: needinfo?(rahmhatre)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: