From e0e0f4981d0a828caef4ba7be48145838921ee24 Mon Sep 17 00:00:00 2001 From: Emerald Date: Thu, 5 Dec 2024 19:26:11 +0000 Subject: [PATCH] fix: session to jwt example --- docs/identities/session-to-jwt-cors.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/identities/session-to-jwt-cors.mdx b/docs/identities/session-to-jwt-cors.mdx index 845087b14..53b452c1c 100644 --- a/docs/identities/session-to-jwt-cors.mdx +++ b/docs/identities/session-to-jwt-cors.mdx @@ -46,8 +46,8 @@ local session = std.extVar('session'); The easiest way to supplies these files to Ory Network is to base64-encode them: ```shell -JWKS_B64_ENCODED=$(cat es256.jwks.json | base64) -JSONNET_B64_ENCODED=$(cat claims.jsonnet | base64) +JWKS_B64_ENCODED=$(cat es256.jwks.json | base64 -w 0) +JSONNET_B64_ENCODED=$(cat claims.jsonnet | base64 -w 0) ``` Next, we configure our Ory Network project's tokenizer templates. The key we choose here is `jwt_example_template1`. We supply