Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save muath-ye/f85a4f8987d5980ba25a74848777a1f8 to your computer and use it in GitHub Desktop.
Save muath-ye/f85a4f8987d5980ba25a74848777a1f8 to your computer and use it in GitHub Desktop.
Use cookie based session authentication on angular. This approach to authentication provides the benefits of CSRF protection, session authentication, as well as protects against leakage of the authentication credentials via XSS.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment