An example of stateless user authentication using LexikJWTAuthenticationBundle, Symfony 3.4, and FOS REST Bundle
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
src
tests/AppBundle/Controller
var
web
.env
.gitignore
Dockerfile
Makefile
README.md
composer.json
composer.lock
docker-compose.yml
phpunit.xml.dist

README.md

Stateless User Impersonation in Symfony 3.4 onwards

This is a demonstration of how to add stateless user impersonation to a Symfony 3.4+ project:

The setup we will use is:

  • Symfony 3
  • FOS REST Bundle
  • Lexik JWT Authentication Bundle

Please note that at the time of creation, Symfony 3.4 was in Beta and so the composer.json file has a minimum-stability flag set to dev.

Find the full video tutorial and write up at https://codereviewvideos.com/