This application shows how to implement an authentication with Github with Symfony.
{% endblock %} {% extends 'base.html.twig' %} {% block body %}If you can access this page, it's because you are authenticated.
Actually you are!
Your login: {{ app.user.username }}
Your name (in case you forgot…): {{ app.user.name }}
Aaaaand your email address: {{ app.user.email }}
Your FACE:
{% endblock %}
admin.html.twig
index.html.twig