Skip to content

Commit

Permalink
Publishing example examples/v7-ef-jwt-validation
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Aug 14, 2024
1 parent aafeade commit b40681f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edge-functions/validate.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const fromBase64 = (str) => Buffer.from(str, 'base64').toString()
export async function handleHttpRequest(request, context) {
Object.assign(process.env, context.environmentVars)

// Extract the toke and any other objects from the request.
// Extract the token and any other objects from the request.
const { token, ...other } = await request.json()

// Split out the header and payload from the cleartext token and determine the right algorithm to use.
Expand Down

0 comments on commit b40681f

Please sign in to comment.