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

Auth: add user verification and improve session handling #5

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

H1ghBre4k3r
Copy link
Member

Implement user verification in the AuthContextProvider using a new
verifyUser function. This function extracts userId and secret from
URL parameters and calls the account's updateVerification method.
Update the useEffect dependency to include verifyUser.

Enhance the Appwrite client setup by specifying the endpoint.
Add a LocalBar icon to the NavBar for improved UI.
Ensure the login function creates a verification after user
registration for better session management.

Implement user verification in the AuthContextProvider using a new 
verifyUser function. This function extracts userId and secret from 
URL parameters and calls the account's updateVerification method. 
Update the useEffect dependency to include verifyUser. 

Enhance the Appwrite client setup by specifying the endpoint. 
Add a LocalBar icon to the NavBar for improved UI. 
Ensure the login function creates a verification after user 
registration for better session management.
@H1ghBre4k3r H1ghBre4k3r changed the title feat(auth): add user verification and improve session handling Auth: add user verification and improve session handling Nov 5, 2024
@H1ghBre4k3r H1ghBre4k3r merged commit 2a9857f into main Nov 5, 2024
6 checks passed
@H1ghBre4k3r H1ghBre4k3r deleted the add-registration-email branch November 5, 2024 17:04
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.

1 participant