Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(auth): add returnUrl for users that try to access a page while logged out #4610

Merged
merged 2 commits into from
Sep 13, 2024

Conversation

Parker-Stafford
Copy link
Contributor

@Parker-Stafford Parker-Stafford commented Sep 13, 2024

resolves #4605

  • adds return url url param for so that logged out users can go to the attempted to be accessed page when logged in

basic login:

Screen.Recording.2024-09-13.at.12.41.23.AM.mov

new user password reset

Screen.Recording.2024-09-13.at.1.07.31.AM.mov

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Sep 13, 2024
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Sep 13, 2024
@@ -12,7 +12,7 @@

/* Language and Environment */
"target": "ES2020" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
// "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
"lib": ["ES2020", "DOM"], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

es2020 allows for access to string.startsWith, dom needed for dom things

@Parker-Stafford Parker-Stafford merged commit 2891b49 into auth Sep 13, 2024
8 checks passed
@Parker-Stafford Parker-Stafford deleted the parker/4605-redirect-url branch September 13, 2024 16:25
RogerHYang pushed a commit that referenced this pull request Sep 21, 2024
…ogged out (#4610)

* feat(auth): add returnUrl for users that try to access a page while logged out

* tests and fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants