TACC / tup-ui

React client for TACC User Portal
2 stars 0 forks source link

bug/TUP-572: Fix- Auth redirect ignores query strings #316

Closed jarosenb closed 1 year ago

jarosenb commented 1 year ago

Overview

Our auth redirect decorator was using request.path to construct redirect paths, which ignores query strings. Since users might be following a link that includes a query string, the query should get passed along when the user is redirected after authenticating.

Related

Testing

  1. Navigate to http://localhost:8000/portal/projects?show=inactive in an incognito/unauthenticated session. After logging in you should be looking at inactive projects instead of the active listing.

UI

Notes