This is a small sample app to demonstrate the usage of redux-oidc.
You will need a Google account to use it.
After logging in, the app will query the YouTube API for a list of your 5 most recent channel subsciptions (if any).
You can click on Show user info
to view the user info stored in the reducer.
Click on Logout
to log out again.
Visit https://redux-oidc-example.herokuapp.com/ for the live demo (might take a while to load).
This app uses react-router-redux for routing and redux-saga to make API requests.
Clone this repo and run npm install
.
After that run node server
to start the server.
This app uses a webpack config for building two separate files, index.html
for the app & silent_renew.html
for silent renew. It uses express as a server with this config to allow the routing for both HTML files to work.