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

wt edit fails: Invalid token, missing ten claim #204

Open
garthk opened this issue Apr 26, 2018 · 3 comments
Open

wt edit fails: Invalid token, missing ten claim #204

garthk opened this issue Apr 26, 2018 · 3 comments

Comments

@garthk
Copy link

garthk commented Apr 26, 2018

Redacting a little…

$ wt ls -p $PROFILE
…
Name:        $NAME
URL:         https://$TENANT.au8.webtask.io/$NAME
…
$ wt edit -p $NAME
Attempting to open the following url in your browser: 

https://sandbox8-au.it.auth0.com/edit/$TENANT#/$TOKEN

If the webtask editor does not automatically open, please copy this address and paste it into your browser.

The browser shows:

Something went wrong!
Error: Invalid token, missing ten claim

The token, broken apart:

{
  "iss": "https://auth0.auth0.com/",
  "sub": "auth0|…",
  "aud": [
    "https://auth0-extend.com/deployments/auth0-au/containers/$TENANT",
    "https://auth0.auth0.com/userinfo"
  ],
  "iat": 1524705577,
  "exp": 1524741577,
  "azp": "…",
  "scope": "openid wt:owner offline_access"
}

… which, indeed, lacks a ten.

@A143404
Copy link

A143404 commented May 22, 2018

I am facing this issue. How do i generate a token which has this claim..

@nebolsin
Copy link

Also got this problem after re-initializing the profile according to instructions in Auth0 dashboard. Luckily I had a backup of ~/.webtask with an old token and it still works.

@itulga
Copy link

itulga commented Jul 8, 2018

How did you fix @nebolsin ? I have .webtask too. I dont understand how to use that token

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

No branches or pull requests

4 participants