Published 1 year ago
Hi All, i am new in Lumen, i was read why Lumen 5.4 not supported CSRF token as they have classes support in Lumen 5.1 , should i down grade to Lumen 5.1 ?
JSON Web Tokens is one of the possible options. The JWT Auth package is quite easy to use.
No, you shouldn't.
Lumen is mainly used for RESTful APIs since Lumen 5.2, so the views functionality was removed.
CSRF tokens are used in a session based traditional application while the RESTful APIs are stateless and do not use sessions.
Thanks Ruffles , i appreciated , so what will be the best option of Restfull Api Authentication , Lumen Authentication Documentation not providing a detail
Thanks Ruffles :)
Ruffles sorry disturbing you ,
JWT Auth package have only guide for Laravel , how i configure in Lumen 5.4
thanks in advance
Follow this article
Please sign in or create an account to participate in this conversation.