JWT

young business people working with digital tablet while discussing together in conference room

Spring Boot Rest Authentication with JWT

Reading Time: 6 minutes In this tutorial, we will create a simple Spring boot application that uses the JWT authentication to protect a REST API. For this, we use Spring security and web configuration for the token generation. In this, we create an example that uses the REST POST/GET API to generate the JWT token, and the user who has the valid token they only have able to access Continue Reading

What is JWT (JSON Web Token)?

Reading Time: 3 minutes What is JSON Web Token (JWT)? JWT (JSON Web Token) is an open standard (RFC 7519) that defines a compact and self-contained way for securely transmitting information between two parties as a JSON object. This information is digitally signed so it can be trusted an verified. JWT signed using a secret key (with the HMAC algorithm) or a public/private key using RSA or ECDSA. JWT can be encrypted to also Continue Reading

Spring Cloud Gateway Security with JWT

Reading Time: 3 minutes Security,As we all know that everything that is on the Internet need security. Especially when you create software and work with sensitive user data, such as emails, phone numbers, addresses, credit cards, etc.So,here we will go through securing API Gateway with Json Web Tokens(JWT). Spring recently released an update for microservice applications, and this update is a Spring Cloud Gateway that stands in front of all Continue Reading

JWT

Reading Time: 3 minutes JWT stands for JSON Web Token. It is basically used to transform some information between two 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 HMAC algorithm) or a public/private key pair using RSA. JWT is very compact in size, we can send it through the HTTP header, Post parameter, etc. It’s Continue Reading

Authorization using JWT

Reading Time: 3 minutes In this blog, we will discuss how to implement Akka HTTP authorization using JWT. So first let’s see what is JWT. What is JWT JSON Web Token (JWT) defines a compact and self-contained way for securely transmitting information between parties as a JSON object. The token is mainly composed of header, payload, signature. These three parts are separated by dots(.). The header contains a hashing Continue Reading

Authentication and Authorization in Microservices

Reading Time: 3 minutes Microservices Architecture has been gaining a lot of ground as the preferred architecture for implementing solutions as it provides benefits like scalability, logical and physical separation, small teams managing a part of the functionality, flexibility in technology etc. But these benefits come at a cost of simplicity since microservices are distributed the complexity of managing them increases. One of the key challenges is how to Continue Reading

What is JWT (JSON Web Token)?

Reading Time: 2 minutes In this blog, we will learn about  JWT, its basic structure, advantages and how can we generate and validate JWT in java. So, Authentication is the process of verifying the identity of a user, and JWT is a safe way for transferring information between multiple parties in the JSON format. So for example, If you want to login to any application say XYZ that allows Continue Reading