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

After recent changes on Akamai create/refresh/download tokens fails when decoding JWT #155

Open
ciandt-crodrigues opened this issue Sep 4, 2024 · 6 comments

Comments

@ciandt-crodrigues
Copy link

Commands like
akamai edgekv create token token1 --overwrite --staging=allow --production=allow --ewids=all --namespace=default+rwd --expiry=9999-12-31
or
akamai edgekv download token token1

fails with error "Error while trying to decode the JWT token"

the reason is because this was not updated to reflect the recent changes on the token described here

It is a real problem for me because my pipeline uses download to retrieve the token to build new edgeworker versions (because we should not version tokens on our version control)

the issue is probably here:

Please Release a fix for this ASAP!

@paul-bartlett
Copy link
Collaborator

Working on a release that should address this right now, should be out later today or early tomorrow

@paul-bartlett
Copy link
Collaborator

Release just went out, can you update and try again?

@ciandt-crodrigues
Copy link
Author

I can confirm it is working now.
But no new version? I found strange having it with the same version as before but the code is different

@paul-bartlett
Copy link
Collaborator

Did you run akamai edgekv --version? I bumped to 1.9.0 for this release

@ciandt-crodrigues
Copy link
Author

1.9.0 was released already.
on this commit, I think: acda6b5

https://github.com/akamai/cli-edgeworkers/releases/tag/v1.9.0
to bump it I think you need to update the version on the package.json

@paul-bartlett
Copy link
Collaborator

Yeah I probably should have been bumped the package.json version to trigger a new tag. That commit was part of the release and changed the version here: https://github.com/akamai/cli-edgeworkers/blob/master/cli.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants