Skip to content

alilishan/nextjs-auth-server

Repository files navigation

Auth Server

Based on Private Key and Public Key JWT

ToDo

  • Auth (Sign In and get Auth Token)
  • Create User
  • Blacklist (Logout) User
  • Update User
  • Delete User
  • Permissions?

Generate Keys

Generate inside the artifacts folder

ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key
// Don't add passphrase

openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub

cat jwtRS256.key
cat jwtRS256.key.pub

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published