User account and authentication features
Opened this issue · 1 comments
up2code commented
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.
riipah commented
I think it would be enough if you ask username/password, get authentication cookie and use that to access user data.
- Request username + password from user.
- POST https://vocadb.net/User/Login (username + password in body). No need to save username + password.
- Save cookie named .ASPXFORMSAUTH from result.
- Pass that cookie to all requests to website.
- 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.