What is JWT? — UK Software Development Guide
Direct Answer
JSON Web Token (JWT) is an open standard (RFC 7519) for securely transmitting information between parties as a JSON object that is digitally signed. JWTs are commonly used as access tokens in OAuth 2.0 and OpenID Connect authentication flows. A JWT consists of three parts: Header (token type and signing algorithm), Payload (claims — the information being transmitted), and Signature (cryptographic verification).
JWT in the UK
JWTs are the standard access token format for UK API authentication. UK government APIs (HMRC MTD uses JWTs, NHS Login issues OIDC tokens which are JWTs) and most UK SaaS platforms use JWTs for authentication. UK GDPR consideration: JWT payloads are only base64-encoded (not encrypted) — never put personal data in a JWT payload unless the token is encrypted (JWE, not JWS). The UK practice is to put only the user ID and role in the JWT payload, storing personal data server-side. JWT expiry: short-lived access tokens (15 minutes) with refresh tokens (7 days) is the recommended pattern.
Related Glossary Terms
API
API explained for UK software developers and business owners. An API (Application Programming Interface) is a defined set of rules and protocols that allows different software system... UK context, examples, and related services.
Api-contract
API Contract explained. An API contract is a formal specification of how an API behaves — defining: available endpoints, request forma...
Api-documentation
API Documentation explained for UK software developers. API documentation describes how to use and integrate with an API — covering available endpoints, request/response format...
Api-first
API-First explained. API-First is a software design approach where the API is designed and specified before the implementation. The...
Api-gateway
API Gateway explained for UK software developers. An API Gateway is a server that acts as an entry point for API requests from clients. It sits in front of one or more ba...
Api-key
API Key explained. An API key is a unique identifier used to authenticate a client making API calls. It is typically a long rando...
Get Expert Advice on JWT
Speak with our UK software development experts about JWT. Free consultation, transparent pricing, no obligation.