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

Implement JWT instead of using cookies+session #13

Closed
philipbulley opened this issue Mar 26, 2016 · 0 comments
Closed

Implement JWT instead of using cookies+session #13

philipbulley opened this issue Mar 26, 2016 · 0 comments
Assignees

Comments

@philipbulley
Copy link
Owner

Sessions and cookies are a pain, because:

  1. xhr.withCredentials must be used to send the cookie etc when cross domain
  2. xhr.withCredentials requires that Access-Control-Allow-Origin is not a wildcard
  3. Chrome doesn’t allow http://localhost to be used as Access-Control-Allow-Origin
    😭 😭 😭
@philipbulley philipbulley self-assigned this Mar 26, 2016
philipbulley added a commit that referenced this issue Mar 26, 2016
Removed logout endpoints — no longer relevant with basic JWT implementation
#13
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

1 participant