[PR #8546] feat: expose /api-key/verify to clients #16299

Closed
opened 2026-04-13 10:29:15 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/better-auth/better-auth/pull/8546

State: closed
Merged: No


Added POST /api-key/verify as a concrete API key route and registered it in the API key client plugin. This enables client-side access to API key verification through authClient.apiKey.verify(...) and supports HTTP-based verification flows that were not previously available.

Fixes: https://github.com/better-auth/better-auth/issues/8535


Summary by cubic

Exposed POST /api-key/verify to clients. Apps can now call authClient.apiKey.verify(...) to verify API keys over HTTP.

Written for commit 6e211c4cdd. Summary will update on new commits.

**Original Pull Request:** https://github.com/better-auth/better-auth/pull/8546 **State:** closed **Merged:** No --- Added POST /api-key/verify as a concrete API key route and registered it in the API key client plugin. This enables client-side access to API key verification through authClient.apiKey.verify(...) and supports HTTP-based verification flows that were not previously available. Fixes: https://github.com/better-auth/better-auth/issues/8535 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Exposed POST `/api-key/verify` to clients. Apps can now call `authClient.apiKey.verify(...)` to verify API keys over HTTP. <sup>Written for commit 6e211c4cdd1d70ef508af66303b19d633c2f5956. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. -->
GiteaMirror added the pull-request label 2026-04-13 10:29:15 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#16299