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

How to set envirmental variables #14

Open
sohailriaz opened this issue May 23, 2017 · 3 comments
Open

How to set envirmental variables #14

sohailriaz opened this issue May 23, 2017 · 3 comments

Comments

@sohailriaz
Copy link

No description provided.

@Jiasuo
Copy link

Jiasuo commented Aug 26, 2017

1-
npm install dotenv --save
2-
Add the line require('dotenv').config()
3-
Add a file .env with :

CLIENT_ID=
CLIENT_SECRET=

@AlbanWende
Copy link

@Jiasuo Please be more verbose.
Add the line where?
Add the file where?

@gravityCrystal
Copy link

You can log in https://developers.facebook.com/
and create a demo app over their.It will give you CLIENT_ID, CLIENT_SECRET
And paste in server .js

Similarly it can be done for other types of third party authentications.

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