{"repo":"murraco/spring-boot-jwt","free":true,"listed":false,"github":"https://github.com/murraco/spring-boot-jwt","clone":"git clone https://github.com/murraco/spring-boot-jwt.git","description":"JWT auth service using Spring Boot, Spring Security and MySQL","language":"Java","stars":1686,"topics":["jwt","spring-boot","spring-security","microservices","java","authentication","jsonwebtoken","swagger2","jwt-authentication"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Spring Boot JWT A JWT authentication service built with Spring Boot and Spring Security, using short-lived access tokens paired with rotating, revocable refresh tokens. Stack Introduction (https://jwt.io) Just to throw some background in, we have a wonderful introduction, courtesy of jwt.io ! Let’s take a look: What is JSON Web Token? JSON Web Token (JWT) is an open standard (RFC 7519) that defines a compact and self-contained way for securely transmitting information between parties as a JSON object. This information can be verified and trusted because it is digitally signed. JWTs can be signed using a secret (with the HMAC algorithm) or a public/private key pair using RSA. Let's explain some concepts of this definition further. Compact : Because of their smaller size, JWTs can be sent through a URL, POST parameter, or inside an HTTP header. Additionally, the smaller size means transmission is fast. Self-contained : The payload contains all the required information about the user, avoiding the need to query the database more than once. When should you use JSON Web Tokens? Here are some scenarios where JSON Web Tokens are useful: Authentication : This is the most common scenario for using JWT. Once the user is logged in, each subsequent request will include the JWT, allowing the user to access routes, services, and resources that are permitted with that token. Single Sign On is a feature that widely uses JWT nowadays, because of its small overhead and its ability to be easily","default_branch":null,"files":null,"tree":[],"storefront":"/r/murraco","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/murraco/spring-boot-jwt/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."}