I have a decoupled Drupal site that uses JSON:API to serve an Ionic React app.
I'm currently using the JWT (JSON Web Token Authentication module to enable users to register and log in (alongside the Get JWT on Login module) to the app/Drupal site.
I have used the Email Registration module so that users only need to provide an email address and password to log in, so the sign-up form is very simple.
Now, I want to integrate "sign in with Google" and "sign in with Apple" functionality to make it easier for users on Android and iOS.
Requirements
- I want to use the Google/Apple services directly if possible; I don't want to pay for some third-party service that might disappear and leave my user accounts stranded. (For example, Auth0, one of the major "authentication as a service" providers, abandoned their Drupal module with only 6 months' notice.)
- It needs to work with decoupled login.