Skip to content

Commit

Permalink
Also remember URL params
Browse files Browse the repository at this point in the history
  • Loading branch information
ryandberger committed Aug 23, 2024
1 parent 9f6a7b6 commit 9d0061b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AuthnLogin/AuthnLogin.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const AuthnLogin = ({ stripes }) => {
* @see OIDCRedirect
*/
if (okapi.authnUrl && window.location.pathname !== '/') {
setUnauthorizedPathToSession(window.location.pathname);
setUnauthorizedPathToSession(window.location.pathname + window.location.search);
}

// If only 1 tenant is defined in config (in either okapi or config.tenantOptions) set to okapi to be accessed there
Expand Down

0 comments on commit 9d0061b

Please sign in to comment.