next-drupal-debug
Debug next-drupal
OAuth connection.
Steps
git clone https://github.com/shadcn/next-drupal-debug.git
- Update the following values in
index.js
:
- NEXT_PUBLIC_DRUPAL_BASE_URL
- DRUPAL_CLIENT_ID
- DRUPAL_CLIENT_SECRET
- Run
yarn debug
If you see ✅ Connection established.
, then you have successfully set up the Drupal OAuth consumer.
If you see an error, check your Drupal logs for error messages.