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

testing Node 8 #10

Open
Floppy opened this issue May 2, 2018 · 2 comments
Open

testing Node 8 #10

Floppy opened this issue May 2, 2018 · 2 comments

Comments

@Floppy
Copy link

Floppy commented May 2, 2018

With the update of webtask and Auth0 to support node 8, I was wondering if there's any change in configuration needed? I don't seem to be able to get my code to run under Node 8 using the harness. I suspect we might need a different sandbox URL, but I'm not sure what it should be. Does anyone know?

@emsearcy
Copy link

Just ran into the same thing.

I used:
SANDBOX_URL=https://sandbox8-us.it.auth0.com

The token used to show up in https://manage.auth0.com/#/tenant/webtasks but it doesn't any longer. However, if you set up the wt cli for the 8 sandbox using the command given, you can then output the token from wt profile ls --show-token

@emsearcy
Copy link

emsearcy commented Jun 1, 2018

Update to my note above ... these tokens are short-lived (10 hours). If you connect to your sandbox (e.g., wt logs -p "YOUR-TENANT-default"), it will refresh your token, after which you can run
wt profile ls --show-token again, and re-copy into .env.

It's a pain, but it works.

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

2 participants