Skip to content

Prototype integration with Auth0 using React and Redux

License

Notifications You must be signed in to change notification settings

dannywieser/auth0-prototype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auth 0 React/Redux POC/Demo

This repo has three sub-packages:

  • redux-data-service: A redux wrapper for the common auth0 api actions that can be run as a standalone demo.
  • react-ui: A simple React UI that makes use of the redux data service and bb ui components to demo interaction with various types of API
  • mock-api: a dead simple node express server with 3 api endpoints to allow testing of authorization to those endpoints.

Running the demo:

Redux Data Service Only

  • cd packages/redux-data-service
  • yarn install
  • yarn demo

React UI with Mock API calls

Build and Link the Data Service Component

  • cd packages/redux-data-service
  • yarn install
  • yarn build
  • yarn link

Run the React UI

  • cd packages/react-ui
  • yarn install
  • yarn link bb-auth-data-service
  • yarn demo

Run the Mock api

  • cd packages/mock-api
  • yarn install
  • yarn start

Example Users:

[email protected] [email protected] [email protected]

About

Prototype integration with Auth0 using React and Redux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published