auth0-samples / auth0-roles-permissions-dashboard-sample Goto Github PK
View Code? Open in Web Editor NEWDashboard that allows you to manage roles and permissions for your Auth0 users
Dashboard that allows you to manage roles and permissions for your Auth0 users
Deployment branch -> nothing to deploy
As per NPM warnings on npm install
npm WARN deprecated [email protected]: Critical vulnerability fix in v5.0.0. See https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries/
and
npm WARN deprecated [email protected]: Security update: Versions below 3.0.0 are deprecated.
It would be great if you could provide the basic documentation that helps setup the dev environment and also deployment guidelines. This tool will be very helpful for a lot of people esp working with roles.
TIA.
This part of the documentation confuses me. What/where am i exactly suppose to do?
In order for this to work add a configuration setting in the Auth0 dashboard that points to the base url of the dashboard. Eg:
PERMISSIONS_API_BASE_URL = https://fabrikam-roles-permissions.azurewebsites.net
Add a 'data.json' to in your root file.
{
"permissions": [],
"roles": []
}
$ npm install
npm WARN package.json [email protected] No repository field.
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v4.4.0
npm ERR! npm v2.14.20
npm ERR! code EPEERINVALID
npm ERR! peerinvalid The package [email protected] does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants react@>=0.13
npm ERR! peerinvalid Peer [email protected] wants [email protected]||0.14.x
npm ERR! peerinvalid Peer [email protected] wants react@^0.14.0-0 || ~0.13.x || ~0.12.x
npm ERR! peerinvalid Peer [email protected] wants react@^0.14.8
npm ERR! Please include the following file with any support request:
npm ERR! C:\auth0-roles-permissions-dashboard-sample\npm-debug.log
The application loads the Auth0 library specifically over HTTP. When you view the application over HTTPS the library cannot be loaded.
This is fixed in:
#8
Hi,
What do I need to use it in an apicontroller. Onauthorized doesn't get triggered.
Kind regards.
Only authorised users should have access to the dashboard.
Show how we can create roles in different ways:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.