Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JWT Signing #212

Merged
merged 5 commits into from
Nov 1, 2024
Merged

JWT Signing #212

merged 5 commits into from
Nov 1, 2024

Conversation

nighthauk
Copy link
Contributor

Edgeworker example added for signing JWTs.

@nighthauk
Copy link
Contributor Author

Thanks @evan-hughes, changes are made.

- `ext`: Indicates if the key is extractable (`true` in this case).

Take note that the main.js version uses `raw` key format. If using `jwk` in the example above, the stringified console output of `jwkKey` above may be pasted directly into the Property Manager variable `PMUSER_JWT_HMAC_KEY`.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a great explanation! Thanks!

@evan-hughes
Copy link
Collaborator

Looks good to me. I'll ping a couple of other folks on the team for another review, but we should be ready to merge shortly.

@lperra lperra self-requested a review November 1, 2024 15:39
@lperra lperra merged commit 9beed9a into akamai:master Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants