NASA-IMPACT / admg-backend

Apache License 2.0
2 stars 0 forks source link

Redirect users to the login page if they try to access a protected page #601

Open heidimok opened 9 months ago

heidimok commented 9 months ago

Context

Upon merging the new MI workflow into staging, we ran a Sentry test to catch issues. This is one source of errors found.

Problem

We aren't redirecting people to the login page if they try to access a protected page. As a result, they get an error.

edkeeble commented 8 months ago

Sentry issue here: https://development-seed-72.sentry.io/issues/4356867783/?environment=dev&project=4504118899179520&query=is%3Aunresolved&referrer=issue-stream&statsPeriod=7d&stream_index=0&utc=true