# JWT Server

JWT Server is a self-hosted development app. Istio's jwt-server is a lightweight demo server image used in the Istio project's samples to demonstrate JWT (JSON Web Token) request authentication and authorization. It is open source and self-hosted, installable on Docker Hub.

Canonical page: https://ourlocalhost.com/app/5652/jwt-server

## Description

Istio's jwt-server is a lightweight demo server image used in the Istio project's samples to demonstrate JWT (JSON Web Token) request authentication and authorization.

## Platform availability

Available on 0 of 10 platforms.

## Health score

6/100 (Low), based on 3 of 4 factors.
- Maintained: 0 (last commit 2869 days ago)
- Popular: 0 (0 GitHub stars)
- Easy to install: 25 (0 install platforms, install notes, Docker image)

## Links

- Docker Hub: https://hub.docker.com/r/istio/jwt-server
- Official website: https://istio.io

## Common questions

### Why run a self-hosted JWT decoder/encoder instead of using a public site like jwt.io?

So you can decode and encode JWTs without submitting them to a random public website. One user said their previous company kept an in-house AppSec tool for that purpose.

### How do I handle an “invalid JWT” error when calling a self-hosted REST API?

Create a service user with an admin role and a personal access token. Send the request using that token.

### How can I maintain authentication for a long-running service with JWTs?

For long-running server/client or server/host relationships, you can reissue a new valid JWT using the current expiring JWT as the reason.

### What resource cost should I expect when refreshing many JWTs?

Generating and refreshing JWTs at scale can be resource-intensive, which is a concern when comparing JWTs with server-side sessions.

### Do I need to plan a migration if JWT app authentication is deprecated?

Zoom deprecated its JWT app type in favor of Server-to-Server OAuth and gave users about 12 months to migrate.

## Alternatives

- Apache APISIX: Apache APISIX is an open-source cloud-native API gateway with dynamic, real-time and high-performance features, based on the NGINX library…

---
Source: Our Local Host (https://ourlocalhost.com/app/5652/jwt-server), the self-hosted and open-source app directory.
