Hi Nicu,
I have seen that you have implemented the authorization via Header in Version 1.5.
Thanks a lot for this.
Is it also possible that you can implement the authorization via cookie?
Let’s say the cookie must have the name sjl-jwt then the plugin can search for this cookie with $_COOKIE[SIMPLE_JWT_LOGIN_COOKIE_NAME] and if that is not found then try bearer and then the request parameter.
What do you think?!
If you have implemented a wordpress Site with login in your own site in an iframe, it is not possible to change the Header. So the cookie is a secure way to store the jwt locally at client site.
Regards,
Kurt
-
This reply was modified 4 years, 9 months ago by Kurt Junker. Reason: additional info