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 symfony json_login as JSON Authentication Endpoint for api authentification #7

Closed
Onyxmoon opened this issue Dec 26, 2019 · 1 comment
Assignees
Labels
application enhancement New feature or request
Milestone

Comments

@Onyxmoon
Copy link
Owner

The user is supposed to identify himself via a POST request with a JSON body containing the credentials. As return a httpOnly cookie is to be used, which from then on should be sent back by the client to confirm the session.

This is to be done with regard to the fact that httpOnly cookies cannot be accessed via JavaScript.
This type of cookie is automatically sent with every request, but is not readable in JavaScript, which makes it safe from theft by other JavaScript.

@Onyxmoon Onyxmoon added the enhancement New feature or request label Dec 26, 2019
@Onyxmoon Onyxmoon added this to the 1.0 milestone Dec 26, 2019
@Onyxmoon Onyxmoon self-assigned this Dec 26, 2019
@Onyxmoon
Copy link
Owner Author

Added by f221baf
Fixed by a506b9c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
application enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant