Authorization using firebase #1392
Answered
by
ramsy0dev
NanoscaleSimulations
asked this question in
Q&A
-
Hey, Im still new to web development, but am loving reflex so far. Ant help or guidance is much appreciated 😊 |
Beta Was this translation helpful? Give feedback.
Answered by
ramsy0dev
Jul 31, 2023
Replies: 1 comment 7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@NanoscaleSimulations you can do so by creating a function in the State of your app that will run when a user visits a route in your app, this function will check if the user is signed in if not it will redirect to the Sign-up/Sign-in page. Their is an example of a login system that you can find here but it's doesn't use Firebase but i think it will give you an idea on how implement it