@delmaredigital/payload-better-auth 0.6.7 → 0.6.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -638,7 +638,9 @@ let apiKeyPermissionsConfig = undefined;
638
638
  }
639
639
  }
640
640
  } catch {
641
- // JWT verification failed — not a valid OAuth token, continue to return null
641
+ // JWT verification failed — token is not a valid OAuth JWT
642
+ // Per Better Auth docs: "only accept JWT-formatted access tokens for your API"
643
+ // Opaque tokens should be handled via the /oauth2/introspect endpoint if needed
642
644
  }
643
645
  }
644
646
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delmaredigital/payload-better-auth",
3
- "version": "0.6.7",
3
+ "version": "0.6.9",
4
4
  "description": "Better Auth adapter and plugins for Payload CMS",
5
5
  "type": "module",
6
6
  "license": "MIT",