-
Notifications
You must be signed in to change notification settings - Fork 0
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
Authentication implementation #40
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/kcjpop/vd/9JGfdbaJfhbHTpFJSG6LmLu3G3Sq |
71d9b66
to
d83171d
Compare
e0dda35
to
de4ce89
Compare
0982a92
to
1b61844
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and seemed to work. We just need to remove api/src/domain-logic/*
before merging.
web/package.json
Outdated
@@ -16,6 +16,9 @@ | |||
"@floating-ui/react-dom-interactions": "0.0.15", | |||
"@logtail/browser": "0.1.10", | |||
"@radix-ui/react-dropdown-menu": "0.1.6", | |||
"@radix-ui/react-toast": "0.1.1", | |||
"@supabase/supabase-js": "1.33.3", | |||
"better-sqlite3": "7.5.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We removed better-sqlite3
in the FE.
router.push('/') | ||
} | ||
|
||
console.log({ user }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmm
9fe534f
to
588544b
Compare
- Remove Account, Auth component, supabase.css (from supabase example) - Add functions and useUser hook - Add common components: Button, Input - Add translations for login page - Remove session props from _app.jsx - Add Login component.
- Add more views to Register component. - Fix error on input of Login component. - Add more translations.
- Add Confirm page: display message and redirect after certain time (10s) - Add more translations - Add getProtocol function (can be removed if not needed)
- Fix layout for Login/Register - Introduce Toast from @radix-ui/react-toast - Add translations - Add styling for Toast, additional keyframes for animation.
Signed-off-by: An Cao <kcj.pop.com@gmail.com>
- Re-adding lib/component/auth/Auth.jsx (lost when migrate to separate api server) - Add translation - Remove atom.css. Add additional keyframes (for dropdown).
Minor fixes: - Wrong usage of useRouter - Login page styles (too small for mid screen
588544b
to
9c10377
Compare
Signed-off-by: An Cao <kcj.pop.com@gmail.com>
No description provided.