---
title: "Introducing JWT Signing Keys"
description: "Supabase Auth now supports asymmetric JWT signing keys (RSA or elliptic curve), letting apps verify tokens locally using public keys published at a JWKS endpoint instead of calling the Auth server or sharing a forgeable secret."
url: "https://swe.quest/articles/introducing-jwt-signing-keys-979b097fede857fb"
canonical: "https://supabase.com/blog/jwt-signing-keys"
source: "Supabase"
published: "2025-07-14"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 5
tags: ["identity-auth","cryptography","postgres"]
---

# Introducing JWT Signing Keys

A post on [Supabase](https://swe.quest/sources/supabase.md), published 2025-07-14, 5 min read, Announcement. Original: [https://supabase.com/blog/jwt-signing-keys](https://supabase.com/blog/jwt-signing-keys)

## Summary

Supabase Auth now supports asymmetric JWT signing keys (RSA or elliptic curve), letting apps verify tokens locally using public keys published at a JWKS endpoint instead of calling the Auth server or sharing a forgeable secret. Migration is a reversible, zero-downtime sequence: import the legacy secret, generate a standby key pair, rotate to sign with the new private key, then revoke the old secret. A new getClaims() client function verifies tokens via the Web Crypto API with cached public keys, and any JWT library such as jose works too. New publishable and secret API keys replace the JWT-based anon and service\_role keys, with asymmetric keys becoming the default for new projects from October 2025 and legacy keys phased out by late 2026.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Identity & auth](https://swe.quest/tags/identity-auth.md) (Security)
- [Cryptography](https://swe.quest/tags/cryptography.md) (Security)
- [PostgreSQL](https://swe.quest/tags/postgres.md) (Data & databases)

## Prerequisites

- JWT basics
- public key cryptography ([easy posts on Cryptography](https://swe.quest/tags/cryptography.md?difficulty=easy))

## Keywords

Supabase Auth, JWT, JWKS, Web Crypto API, jose, Row-Level Security

## Related posts

- [WTF Are JWTs?](https://swe.quest/articles/wtf-are-jwts-d314ec0dbdbc99c8.md): Neon · 2024-11-29 · Medium · 9 min read · Identity & auth, PostgreSQL, Cryptography, Multi-tenancy
  JSON Web Tokens are compact, signed, self-contained tokens made of three base64url segments (header, payload of registered and custom claims, and an HMAC or RSA signature).
- [Supabase Security Retro: 2025](https://swe.quest/articles/supabase-security-retro-2025-91f5c4e25d9fa3d9.md): Supabase · 2026-01-07 · Easy · 7 min read · PostgreSQL, Security, Identity & auth
  Supabase's 2025 security work centered on safer defaults around Postgres Row Level Security and API exposure.
- [Supabase Auth: SSO, Mobile, and Server-side support](https://swe.quest/articles/supabase-auth-sso-mobile-and-server-side-support-6a2bc9b0f4a5ef26.md): Supabase · 2023-04-13 · Medium · 7 min read · Identity & auth, PostgreSQL, Multi-tenancy, Mobile
  Supabase Auth adds SAML 2.0 single sign-on, a PKCE authorization flow for server-side rendering and mobile apps, and native Sign in with Apple on iOS.
- [Supabase Auth now supports Anonymous Sign-ins](https://swe.quest/articles/supabase-auth-now-supports-anonymous-sign-ins-1d15678eda734aad.md): Supabase · 2024-04-17 · Medium · 4 min read · Identity & auth, PostgreSQL
  Supabase Auth adds anonymous sign-ins, letting apps create temporary users who are treated as \`authenticated\` and persisted in \`auth.users\` with an \`is\_anonymous\` flag exposed as a JWT claim.
- [JSON Web Keys (JWK): Rotating Cryptographic Keys at Zalando](https://swe.quest/articles/json-web-keys-jwk-rotating-cryptographic-keys-at-zalando-70034281fe17c9eb.md): Zalando Engineering · 2025-01-20 · Medium · 4 min read · Identity & auth, Cryptography
  Zalando's OIDC identity provider rotates its JWT signing keys automatically on a schedule, using a phased process so clients are never disrupted.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
