Authorize endpoint that responds to “can user X execute action Y”.Retrieve permissions for a user + session combination.Authenticate a user (with a password), create a session and return a session token (should be a JWT token).The service provides the following functionality as API endpoints: Details about JWT can be found here.ĪuthMicroservice handles authentication and authorization for users. JWT (JSON Web Token) is a standard for creating a Rest API token.Lumen is a lightweight framework for Rest API services based on Laravel.This is boilerplate project for authentication and authorization microservice based on Lumen and JWT. Hope you will find this useful! Enjoy!ĪuthMicroservice in PHP AuthMicroservice in PHP You can find each one of them described below, with links to code and documentation. Course – Internet Programming in Java, course and code examplesĬurrently, there are several PHP and JAVA projects which I made public in a previous period of time.Object Oriented programming in Java, course and code examples.Therefore, I will use this post to point to the repositories where these PHP and Java code examples can be found. I have moved these code samples to git repositories while ago. Some of you asked me about PHP and Java projects with code samples which I had on my old blog. Firstly, thank you all for comments and ideas related to my revamped blog.