setEdgeFunctionsVerifyJWTUnderstood(!!value)}
/>
The following Edge Functions may stop functioning for signed-in users as they
verify the legacy JWT secret:{' '}
{verifyJWTEdgeFunctions
.map(({ name }) => (
{name}
))
.reduce(
(arr, v) => (arr.length > 0 ? [...arr, ', ', v] : [v]),
[]
)}
}
className="px-1.5 py-2 mt-0.5"
tooltip={{
content: {
className: 'max-w-[320px] p-4',
text: (
Some of your Edge Functions are set up to require a JWT in the{' '}
Authorization header signed with the{' '}
legacy JWT secret. Rotation
causes{' '}
invocations by signed-in users{' '}
to fail with HTTP 401 Unauthorized, as the JWT no longer meets this
requirement.
Recommendation: Change all of your Edge Functions to no longer verify JWT
and implement the verification logic in the function's code yourself by
using the Briven client library or any other library for working with
JWT.
),
},
}}
/>