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 context setup #19

Merged
merged 6 commits into from
Dec 11, 2024
Merged

Conversation

carolynzhuang
Copy link
Contributor

@carolynzhuang carolynzhuang commented Dec 11, 2024

What's new in this PR

Description

created auth context for login

  • if isAuthenticated = true, routes to tree search screen
  • if false, routes to login screen
  • placeholder logout button in contact screen, routes back to login after logout completed

Screenshots

How to review

  1. log in, should lead you to tree search screen.
  2. restart the app, should automatically start on tree search screen
  3. go to contact screen and log out. make sure you are directed back to the log out screen.
  4. restart app and make sure that it starts on login screen

Next steps

style logout button

Relevant links

Online sources

Related PRs

CC: @christophertorres1

@christophertorres1 christophertorres1 merged commit fbff3e7 into main Dec 11, 2024
2 checks passed
@christophertorres1 christophertorres1 changed the title Cwz/ocf 33 auth context feat: auth context setup Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants