Category Archives: Php

Integrate Oauth2 for Symfony 4

We are going to easily integrate with KnpUOAuth2ClientBundle for Symfony 4. You can read the detail about it, https://github.com/knpuniversity/oauth2-client-bundle. Today, we integrate Google Oauth2 server but we can integrate other servers easily. For this, i adjust composer package. After installation, i have defined an Entity named User. You can run this command. Then, i am going to… Read More »

Symfony 4 Running on Docker Compose

I am developing an application to improve vocabulary. You will enter in this application the words you learned. Then, this application asks you randomly. For this, i need to establish the workspace. The workspace will become Symfony 4 on Docker Compose. It dependent Nginx, Php-Fpm and Mysql containers. Firstly, i will adjust docker-compose.yml file. Mysql is simple… Read More »

Logic of the JWT(JSON Web Tokens)

In this post, we will learn what is the JWT and logic of the JWT. The IETF is designed as a standard token format. Such as validation, user identification, data integrity and information security each other multiple points. JWT consists of 3 separate JSON pieces encoded in Base64 format. The pieces are separated by a… Read More »