GitPedia

Awesome authentication

Resources to learn and implement authentication in your application

From gitcommitshow·Updated June 20, 2026·View on GitHub·

This is compilation of research on implementing authentication in applications(Covering authentication using JWT for now, more approaches will follow soon) The project is distributed under the MIT License license, first published in 2020. Key topics include: authentication, authentication-backend, authentication-strategy, digital-signature, jwt.

Banner

This is compilation of research on implementing authentication in applications(Covering authentication using JWT for now, more approaches will follow soon)

Fundamentals You Must Know

Cryptography

About Tokens

About Frameworks

Web-Security Recommendations

Secure Key Exchange In Public

Maintaining Forward Secrecy

Invalidating JWT

  • Simply remove the token from the client
  • Create a token blacklist
  • Just keep token expiry times short and rotate them often
  • Contingency Plans : allow the user to change an underlying user lookup ID with their login credentials

A common approach for invalidating tokens when a user changes their password is to sign the token with a hash of their password. Thus if the password changes, any previous tokens automatically fail to verify. You can extend this to logout by including a last-logout-time in the user's record and using a combination of the last-logout-time and password hash to sign the token. This requires a DB lookup each time you need to verify the token signature, but presumably you're looking up the user anyway.

Securtity Risks and Criticism of JWT

Implementations(Examples/Demos)

Useful Tools

Contributors

Showing top 1 contributor by commit count.

View all contributors on GitHub →

This article is auto-generated from gitcommitshow/awesome-authentication via the GitHub API.Last fetched: 6/27/2026