Skip to content

A sample application demonstrating the use of signed parameters with Auth0

License

Notifications You must be signed in to change notification settings

reflect/examples-logistics-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reflect sample app with user paramterization and Auth0 login

For a walkthrough on how to convert this boilerplate into a secure reporting application using your own data, refer to this guide.

Running the Sample

Install the dependencies.

npm install

Rename .env.example to .env and replace the values for AUTH0_CLIENT_ID, AUTH0_DOMAIN, and AUTH0_CLIENT_SECRET with your Auth0 credentials. If you don't yet have an Auth0 account, sign up for free. Then replace the values for REFLECT_SECRET_KEY, REFLECT_ACCESS_KEY with your Reflect project credentials. Again, if you don't yet have a Reflect account, sign up for free.

# copy configuration and replace with your own
cp .env.example .env

Run the app.

npm start

The app will be served at localhost:3000.

What is Reflect?

Reflect helps you to:

  • Serve realtime dashboards and visualizaitons to your users, embedded directly into your application and themed to match your brand
  • Build interactive reports without writing a line of code
  • Parameterize your reports, so only authenticated users have access to private information
  • Save and share drafts across teams, and export reports to PDFs
  • Interact with our API to build robust custom controls for users to navigate their data

Create a free account in Reflect

  1. Go to Reflect and submit your credentials to register.
  2. Activate your account via the confirmation email.
  3. Follow the onboarding flow to build your first report.

What is Auth0?

Auth0 helps you to:

  • Add authentication with multiple authentication sources, either social like Google, Facebook, Microsoft Account, LinkedIn, GitHub, Twitter, Box, Salesforce, amont others, or enterprise identity systems like Windows Azure AD, Google Apps, Active Directory, ADFS or any SAML Identity Provider.
  • Add authentication through more traditional username/password databases.
  • Add support for linking different user accounts with the same user.
  • Support for generating signed Json Web Tokens to call your APIs and flow the user identity securely.
  • Analytics of how, when and where users are logging in.
  • Pull data from other sources and add it to the user profile, through JavaScript rules.

Create a free account in Auth0

  1. Go to Auth0 and click Sign Up.
  2. Use Google, GitHub or Microsoft Account to login.

Author

Reflect building on top of another sample app by Auth0

License

This project is licensed under the MIT license. See the LICENSE file for more info.

About

A sample application demonstrating the use of signed parameters with Auth0

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published