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

Add authentication system for personal note #12

Open
4msar opened this issue Oct 9, 2023 · 3 comments
Open

Add authentication system for personal note #12

4msar opened this issue Oct 9, 2023 · 3 comments
Assignees

Comments

@4msar
Copy link
Owner

4msar commented Oct 9, 2023

Add authentication system for personal note options.

user can login and the user notes will be stored like this.

{
    "userId": {
        "noteKey": {
            "note": "note-content",
            "key": "noteKey",
            "encrypted": true,
            "editedAt": "Date.timestamp",
            "syncAt": "Date.timestamp", // number

        }
    }
}

storage path will be private-notes the encryption will be use user defined key.

Use firebase authentication.

@Shashankpantiitbhilai
Copy link

please assign it to me

@Shashankpantiitbhilai
Copy link

do i have to change the .env.example file

@4msar
Copy link
Owner Author

4msar commented Oct 14, 2023

Yes you have to change the .env file and you should create a firebase app also.

follow the firebase docs.

https://firebase.google.com/docs/auth/web/password-auth

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

No branches or pull requests

2 participants