You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.
If a user click a link to Crick (that is not the homepage) and she is not logged in, she will be redirected to the login screen. Once logged in, she will be redirected to the homepage and not to the page she clicked at the very beginning. This is due to #105 but the fix was needed to avoid authentication errors.
My idea would be to add a query parameter (e.g., next) to redirectUrl in the Auth/reducer.js file:
If a user click a link to Crick (that is not the homepage) and she is not logged in, she will be redirected to the login screen. Once logged in, she will be redirected to the homepage and not to the page she clicked at the very beginning. This is due to #105 but the fix was needed to avoid authentication errors.
My idea would be to add a query parameter (e.g.,
next
) toredirectUrl
in theAuth/reducer.js
file:crick/web/src/Auth/reducer.js
Lines 18 to 20 in e7bd902
If we have this parameter in the URL, we should redirect the user.
The text was updated successfully, but these errors were encountered: