Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1011 Bytes

secrets.md

File metadata and controls

25 lines (18 loc) · 1011 Bytes

Secrets

Some secrets are needed to build the app. You will need to create the files yourself.

Calypso Secrets

We use an OAuth connection to authenticate logins against the WordPress.com API. You can create an application here.

When creating your application, provide a name and a quick description. In the Javascript Origins field, you'll want to whitelist http://127.0.0.1:41050. Leave the application type as web. Answer the bot challenge, and click on the create button. The other fields may be left blank.

In the end, your application details should look similar to: application details

After your application is created, copy your client id and client secret, and add a calypso/config/secrets.json file:

{
	"desktop_oauth_token_endpoint": "https://public-api.wordpress.com/oauth2/token",
	"desktop_oauth_client_id": "<YOUR CLIENT ID>",
	"desktop_oauth_client_secret": "<YOUR CLIENT SECRET>"
}