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

User account and authentication features #4

Open
up2code opened this issue Aug 10, 2015 · 1 comment
Open

User account and authentication features #4

up2code opened this issue Aug 10, 2015 · 1 comment
Labels
beta Beta version

Comments

@up2code
Copy link
Member

up2code commented Aug 10, 2015

I never working on about authentication directly by myself. Especially about from mobile to backend server. So I need to do some research for make sure not just its work, But must secure too.

@up2code up2code changed the title User identication User account and authentication feature May 25, 2018
@up2code up2code changed the title User account and authentication feature User account and authentication features May 25, 2018
@up2code up2code added the research Need time to research how its work or how to fix label Nov 13, 2018
@riipah
Copy link
Member

riipah commented Nov 4, 2019

I think it would be enough if you ask username/password, get authentication cookie and use that to access user data.

  1. Request username + password from user.
  2. POST https://vocadb.net/User/Login (username + password in body). No need to save username + password.
  3. Save cookie named .ASPXFORMSAUTH from result.
  4. Pass that cookie to all requests to website.
  5. Should now be able to access user data.

No need for fancy schmancy Google/Twitter integration at this point. This should be secure enough because the authentication token expires eventually and password is not saved on device.

@up2code up2code added beta Beta version and removed research Need time to research how its work or how to fix labels Jan 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta Beta version
Projects
None yet
Development

No branches or pull requests

2 participants