HS256 is HMAC with SHA-256 — a symmetric algorithm where the same secret both signs and verifies tokens. Anyone holding the secret can forge tokens, so it’s only appropriate when the signer and verifier are the same trust boundary. RS256 is RSA signature with SHA-256 — asymmetric. The signer uses a private key; verifiers use the public key. RS256 is the right choice for OAuth issuers whose tokens are verified by many downstream services.
All questions