{"repo":"kuldeepsingh99/authorization-authentication","free":true,"listed":false,"github":"https://github.com/kuldeepsingh99/authorization-authentication","clone":"git clone https://github.com/kuldeepsingh99/authorization-authentication.git","description":"Spring Token based authorization and authentication with spring boot and spring serurity","language":"Java","stars":11,"topics":["spring-boot","spring-security","token","jwt","spring-authorization","oauth","microservices","spring","authentication","authorization"],"license":null,"category":"auth-billing-email","readme_excerpt":"JWT Token based authorization and authentication mechanism with spring boot and spring security This example can be used to develop Authorization Server and Microservice using JWT Token. This example explains how Authentication and Authorization works. It has two maven project \"Auth\" and \"Customer\". Both the project shares a common secret key. Flow 1. Client authenticate login credentials with Auth Service, if the login credentials are correct it will generate JWT Token and send it back to the client in header as well as in the response, so we are taking care of Authencation. 2. The same JWT token we need to send in every request to access microservices, each microservice will validate the token and it also takes care of Authorization. Auth:- service features # This service validates the user credentials and generates JWT token 1. Login Service (generating JWT Token) 2. Refresh Service (generating new JWT Token) 3. Registration Service ( Adding new User) Customer:- Project features # This service validates JWT token and also takes care of Authentication Steps to Install ## 1. Execute tables.sql in MYSQL DB, it will create Database and two tables. 2. Import both the maven project to eclipse or any other tool. 3. Run mvn clean install one by one on both the projects. 4. In Auth Project run this file com.portal.auto.SpringBootWebApplication.java (it will start the server in 8080 port) 5. In Customer Project run this file com.portal.auto.CustomerApplication.java (it will start th","default_branch":null,"files":null,"tree":[],"storefront":"/r/kuldeepsingh99","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kuldeepsingh99/authorization-authentication/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}