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

TypeError: Cannot read property 'getClient' of undefined #1

Open
emersonmellado opened this issue Jul 19, 2019 · 4 comments
Open

TypeError: Cannot read property 'getClient' of undefined #1

emersonmellado opened this issue Jul 19, 2019 · 4 comments

Comments

@emersonmellado
Copy link

Hi, I cloned the repo, after npm install and node get-client.js I got this error.

image

I am running on windows, node version: v10.16.0.

Can you please help me understand what I did wrong?

@kapehe-ok
Copy link

kapehe-ok commented Aug 14, 2019

Hi @emersonmellado! Thank you for letting us know about this! I was able to recreate your error and once I created the .env file and added in my Auth0 credentials, that error went away and it worked.

Please create a .env file and input the following information:

CLIENT_DOMAIN="your domain, example: kapehe.auth0.com";
CLIENT_ID="client id from auth0 application";
CLIENT_SECRET="client secret from auth0 application";

You will also see a file name .env.example that has the empty values.

Please let me know if this works for you! Thank you!

@CascadiaIO
Copy link

I'm having the same issue, even with the .env filled out.

@blogruben
Copy link

The same problem with variables of .env filled out.

@PaulaAtMelodyVR
Copy link

Same as @CascadiaIO and @Ruben-R-C, I have the issue described even with .env filled out.

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

5 participants