Our great sponsors
-
drupal-react-oauth-provider
React Context provider and hooks for Drupal, with support for Oauth2 authentication.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
I've just released a React Drupal OAauth Provider on npm! It makes logging users into Drupal from React extremely easy and abstracts away all token management. It handles oauth2 authentication and provides a few hooks to deal with login, logout, and accessing rest resources. It works using React context, has no dependencies, and is written in Typescript.
To test it quickly with create-react-app, I've added a demo repo on Github.