From 46ed7a662846889d2687192a47cb3dcbb63c0fd0 Mon Sep 17 00:00:00 2001 From: Annyv2 Date: Thu, 26 Nov 2015 09:49:32 -0430 Subject: [PATCH] Update README.md --- example/socketsio-auth0-sample/README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/example/socketsio-auth0-sample/README.md b/example/socketsio-auth0-sample/README.md index cb9ed21..a8467fc 100644 --- a/example/socketsio-auth0-sample/README.md +++ b/example/socketsio-auth0-sample/README.md @@ -2,10 +2,16 @@ This is the seed project you need to use if you're going to create a Socket.io single page app that will use Auth0. -## Running the example +### Configure your Auth0 credentials First, you need to put your `AUTH0_DOMAIN` (example.auth0.com), your `AUTH0_CLIENT_ID` and your `AUTH0_CLIENT_SECRET` on the `auth0-variables.js` file . You can find this information in the Application Settings on your Auth0.com dashboard. +### Set up the Allowed Origin (CORS) in Auth0 + +Then, you need to put `http://localhost:3001` as an Allowed Origin (CORS) in the Application Settings on your Auth0.com dashboard. + +### Running the example + In order to run the example, you need to have `node` installed. 1. run `npm install`