/auth0-authorization-extension

Auth0 Extension that adds authorization features to your account

Primary LanguageJavaScript

Auth0 Authorization Extension

Building

docker run -v "$PWD":/usr/src/app -w /usr/src/app node:alpine sh -c 'npm install && npm run build'

Running in Production

npm install
npm run client:build
npm run server:prod

Running in Development

Update the configuration file under ./server/config.json:

{
	"AUTHORIZE_API_KEY": "mysecret",
	"EXTENSION_SECRET": "mysecret",
	"AUTH0_DOMAIN": "me.auth0.com",
	"AUTH0_CLIENT_ID": "myclientid",
	"AUTH0_CLIENT_SECRET": "myclientsecret"
}

Then you can run the extension:

npm install
npm run serve:dev