ConservationInternational / COA001

COASST Database App & API
0 stars 0 forks source link

Authentication Scheme #14

Open seansu4you87 opened 9 years ago

seansu4you87 commented 9 years ago

Hey @d-g-h

What kind of authentication do you want? We touched on it briefly, didn't get into the details, but it sounded like you had something specific in mind. JWT, cookies, some http-header, etc? I'm open to anything.

d-g-h commented 9 years ago

JWT, this will help with the origin issues (avoiding CORS) Try storing them in localStorage to be modern, and all other app info there.

Something like http://www.sitepoint.com/using-json-web-tokens-node-js/

Use localStorage instead of windowStorage though.