Tmeister / wp-api-jwt-auth

A simple plugin to add JSON Web Token (JWT) Authentication to WP REST API
GNU General Public License v2.0
560 stars 161 forks source link

Add new hook allow asymmetric encription #311

Open colombinis opened 2 weeks ago

colombinis commented 2 weeks ago

Description

Thi PR adds new hook jwt_auth_token_before_decode to allow the use of asymmetric encryption

Type of change

How has this been tested?

I've used same examples as in the https://github.com/firebase/php-jwt readme

Steps I've foollowed to test it

Test Configuration:

Checklist: