parse-dashboard
parse-dashboard copied to clipboard
Proposal: Form Based Authentication
The current basic auth implementation works well, but there are a few minor downsides:
- Not all browsers can save basic auth credentials.
- Login persistence can't be controlled (ie. stay logged in for 2 weeks).
- Basic auth username/password is passed as base64 encoded string (technically ok over https).
- Cancelling from browser basic auth just shows "You don't have any apps."
Proposal:
- Create a page similar to https://www.parse.com/login (stripped down to only have username/password inputs--screenshot).
- Redirect to to login page if not authenticated.
- Verify session on
/parse-dashboard-config.jsonroute. - Continue to use
usersconfiguration. - Use passport and passport-local for authentication.
- Update config loading to set passport configuration options.
Any suggestions, concerns, or objections?
A logout button would be useful too