radiate-framework / framework

A WordPress plugin and theme framework
https://radiate-framework.github.io/
MIT License
4 stars 0 forks source link

JWT authentication #153

Closed BenRutlandWeb closed 3 years ago

BenRutlandWeb commented 3 years ago

Is your feature request related to a problem? Please describe. Now the Auth component can accept guards, a fully integrated JWT auth guard would be awesome.

Describe the solution you'd like An auth guard for stateless (REST API) routes. It would authenticate the user based on a JWT passed as a Bearer token.

Describe alternatives you've considered Attempting to roll my own for each app. JWT is a common and standardized auth method so makes sense as being the default for stateless requests.