Architecture
Authdog integrates natively into your application, providing both backend and client-side SDKs that give you complete control over your authentication implementation.
Integration options
You can integrate Authdog into your application using three high-level approaches:
Backend Integration: A fully server-side approach where your backend communicates directly with Authdog's API using our backend SDK (Node Commons)
Headless Frontend Integration: Your client uses Authdog's headless frontend SDKs, which provide built-in client-side session management while giving you complete flexibility over the user experience and interface
Pre-built UI Frontend Integration: Your client renders Authdog's ready-made UI components (React Elements) on the appropriate routes, allowing the SDK to automatically manage the entire authentication flow
These integration approaches aren't mutually exclusive—most customers combine them based on their specific requirements. For example, you might use our pre-built UI for login flows while leveraging headless methods for post-authentication features like profile updates. Regardless of which frontend approach you choose, it's crucial to implement server-side session validation using our backend SDKs to maintain proper security.