Redirecting after login to previously visited page #412
-
Hi there, thanks for the great package! Really appreciated. I'd like to ask how I can achieve the following with possibly the appPageURL and authPageURL My scenario: So they get redirected to my Login page However once they login I'd like they to get redirected back to THE PREVIOUS PAGE That's my scenario I am trying to figure out. Would this be possible do you think? Many thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, this is possible. Check out documentation here: https://github.com/gladly-team/next-firebase-auth#dynamic-redirects The demo app uses this behavior. |
Beta Was this translation helpful? Give feedback.
Yes, this is possible. Check out documentation here: https://github.com/gladly-team/next-firebase-auth#dynamic-redirects
The demo app uses this behavior.