Skip to content
We just launched Duende IdentityServer v7.2.0 and BFF v3.0. Check it out!

Base64 URL Encoding

JWT tokens are serialized using Base64 URL encoding.

IdentityModel includes the Base64Url class to help with encoding/decoding:

var text = "hello";
var b64url = Base64Url.Encode(text);
text = Base64Url.Decode(b64url);