Glossary

RS256, PS256 and ES256

RS256, PS256 and ES256 are JWT signature algorithms from RFC 7518 (RSA, RSA-PSS, ECDSA, each with SHA-256). The connector accepts all three on access tokens.

Updated December 5, 2026

Standard
RFC 7518
Also called
JWS algorithms, token signature algorithms

At OneLifeVibe

Related terms

What it means

RS256, PS256 and ES256 are names for three ways to sign a JSON Web Token. They are defined in RFC 7518, the JSON Web Algorithms spec, and they show up in the alg field of a JWT header. You'll also hear them called JWS algorithms or token signature algorithms.

Each name pairs a signing scheme with the SHA-256 hash. RS256 is RSA with PKCS#1 v1.5 padding. PS256 is RSA-PSS, a newer RSA padding scheme. ES256 is ECDSA, which uses elliptic curve keys instead of RSA keys.

How it works

All three are asymmetric. The issuer signs the token with a private key, and anyone holding the matching public key can check the signature without being able to forge a new one. That's the main difference from HS256, where the same shared secret signs and verifies.

A verifier reads the alg value from the token header, picks the matching public key, hashes the signed part of the token with SHA-256 and checks the signature against it. If the signature doesn't match, the token is rejected. RS256 and PS256 both rely on RSA keys but pad the data differently, so a key used for one scheme should be treated as belonging to that scheme. ES256 keys are much smaller than RSA keys for comparable strength.

How OneLifeVibe uses it

The OneLifeVibe connector, the remote MCP server, verifies access tokens with WebCrypto. It accepts RS256, PS256 and ES256 signatures, so a token signed with any of the three algorithms can pass the signature check.

Access tokens last 5 minutes. If you're building a client, plan on getting a fresh token when the current one runs out instead of caching one for long.

Common mistakes

The most common slip is assuming the three names are interchangeable. They aren't: a token signed with ES256 can't be verified with an RSA key, and an RS256 signature won't validate as PS256. Always match the verification algorithm to the alg in the token.

Another is sending a token signed with an algorithm outside the accepted set. The connector accepts RS256, PS256 and ES256 on access tokens, so anything else is outside what's documented. Check which algorithm your signing library defaults to before you ship.

Last, don't hold on to a token past its 5 minute lifetime and then treat the resulting failure as a signature bug. An expired token and a bad signature are different problems, so check the expiry first.

Questions

Which JWT signature algorithms does the OneLifeVibe connector accept?

The connector verifies access tokens with WebCrypto and accepts RS256, PS256 and ES256 signatures. These are the RSA, RSA-PSS and ECDSA algorithms, each paired with SHA-256.

How long do OneLifeVibe access tokens last?

Access tokens last 5 minutes. After that you'll need a new one, so build your client to refresh instead of reusing an old token.

See it working. The OneLifeVibe connector and Platform API put these pieces together.

Get a free key Read the docs

Written from the OneLifeVibe tool registry and platform configuration, and checked automatically before publishing. Something wrong? Tell us.