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 the Client ID and Client Secret for this project? #23

Closed
ruixiwu opened this issue Sep 28, 2017 · 2 comments
Closed

how to set the Client ID and Client Secret for this project? #23

ruixiwu opened this issue Sep 28, 2017 · 2 comments

Comments

@ruixiwu
Copy link

ruixiwu commented Sep 28, 2017

sorry, I am a total new guy,
when I started the server (no db connected), and the go to the "localhost:3000" in chrome.
I try to login , the the browser throw an error like this:
2017-09-29_1-33-42
I did applied the client ID for my app in the forge platform:
2017-09-29_1-34-45

My question is : where to set the client ID and Client Secret for the project with my personal forge key?

@leefsmp
Copy link

leefsmp commented Sep 28, 2017

You need to define the following environment variable or hardcode them in the config file, which is not recommended:

FORGE_DEV_CLIENT_ID="your_client_id"
FORGE_DEV_CLIENT_SECRET="your_client_secret"
NODE_ENV=development

Please take a look at a simpler project first, this one forge-react-boiler.nodejs has a setup that is much more friendly, I doubt that deploying that complex project will help you much understand how forge APIs are working...

@leefsmp leefsmp closed this as completed Sep 28, 2017
@ruixiwu
Copy link
Author

ruixiwu commented Sep 30, 2017

thanks very much

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