Skip to content

Commit

Permalink
mansar.io
Browse files Browse the repository at this point in the history
  • Loading branch information
MuneebAnsari committed Apr 15, 2024
1 parent 060d824 commit a3fb3fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion verifyemail/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@
...decodedPayload,
status: "abc",
state: getState(),
aud: "https://mansar-custom2.cantoll.auth0app.com",
};

const updatedPayloadString = JSON.stringify(updatedPayload);
Expand All @@ -163,7 +164,7 @@
const signatureBase64url = base64urlEncode(
String.fromCharCode.apply(null, new Uint8Array(signature))
);
const jwt = `${headerBase64url}.${payloadBase64url}.${signature}`;
const jwt = `${headerBase64url}.${payloadBase64url}.${signatureBase64url}`;
console.log("Result", jwt);
return jwt;
}
Expand Down

0 comments on commit a3fb3fe

Please sign in to comment.