Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.
/ jwt-login-poc Public archive

A proof of concept for JWT based user login.

Notifications You must be signed in to change notification settings

ajmichels/jwt-login-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

JWT Login Proof of Concept

A proof of concept for JWT based user login.

The concepts behind Json Web Tokens (JWT) can be explored at jwt.io.

The quickest and simplest way to get the app up and running is to use the PHP embedded server.

ex. php -S 127.0.0.1:8080 -t public

The hard-coded credentials are foo@bar.com and baz.

After you have logged in you can get the token from the usertoken cookie and then pass the value into the debugger at jwt.io/#debugger-io. Though at the time of this writing that tool does not support the HS512 algorithm I used for the signature.

About

A proof of concept for JWT based user login.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published