Frequently Asked Questions
Q: What authentication methods does AuthMate support?
A: AuthMate supports API key validation, user registration and login using JWT or session-based authentication, magic link authentication, and invite acceptance flows.
Q: How do I handle errors in the SDK?
A: SDK methods throw errors that can be caught with try/catch
blocks. Each error includes a message and an error code to help with debugging.
Q: Can I use AuthMate SDK with React?
A: Yes! The SDK is fully compatible with React and can be used directly within components and hooks. It also provides TypeScript types for enhanced developer experience.
Q: Does AuthMate SDK support token storage?
A: Yes, the SDK supports secure token storage using localStorage
by default, and you can also provide custom storage solutions as needed.
Q: Where can I report bugs or request features?
A: You can report bugs or request features by opening an issue on the AuthMate GitHub repository or by contacting our support team via email.