PHPnews.io

Securing an API with JWT and API-Platform

Written by COil / Original link on Dec. 30, 2020

In this post, we will see how to secure an API with JWT and API-Platform. We will generate JWT security tokens thanks to the lexik/jwt-authentication-bundle, and we will take advantage of the new property security parameter introduced in API Platform 2.6.

strangebuzz

« Reducing flaky builds by 18x - Replacing manual API endpoints by API Platform in a Symfony application »