-
Hi all! I have multiple pages with |
Beta Was this translation helpful? Give feedback.
Answered by
ijohn
Aug 8, 2024
Replies: 1 comment 1 reply
-
Hey! Have you checked out the auth page? If you look at the local auth example, it has a method to redirect users who aren't logged in. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! Thanks for the response.
I had checked the docs and the method you pointed out before asking. That method doesn't answer my question.
For the benefit of others trying to figure out the same issue:
Lendemor (Legendmor) in Reflex's Discord helped me out with the following response:
"When running check_login, you can store the current page URL before going to /login/.
Then when the login is complete, do a rx.redirect to the URL you stored previously."