Example create-react-app with minimal changes to demonstate usage of drupal-react-oauth-provider.
App logs into Drupal 9 with hardcoded username and password, and then views a node title that requires the user to be authenticated.
The access tokens have an expiry time of just 20 seconds to demostrate refreshing of tokens.
git clone https://github.com/niallmurphy-ie/drupal-react-oauth-provider-example
cd drupal-react-oauth-provider-example
npm install
npm start