podaac/swodlr-ui

Error logging in when running locally and using Firefox

Closed this issue · 1 comments

When loading the app locally and trying to login using recent version of Firefox, login does not work.

Steps to reproduce:

  1. Navigate to localhost:3000/
  2. Click Earthdata Login button
  3. Redirected to Earthdata Login, complete login
  4. Redirected back to localhost main page

In the console, the following warning is logged:

 Request to access cookie or storage on “https://d15gds5czd9p7k.cloudfront.net/graphql” was blocked because it came from a tracker and content blocking is enabled.

Recent versions of Firefox block "trackers" by default (https://developer.mozilla.org/en-US/docs/Web/Privacy/Storage_Access_Policy/Errors/CookieBlockedTracker).

An exception can be added in Firefox to allow https://d15gds5czd9p7k.cloudfront.net to store cookies by going into privacy and security and adding an exception.

We expect this will be resolved once we get a proper DNS entry for the API.