Best Practices
This section provides a collection of best practices and security recommendations for building production-ready authentication systems with Archibald.
For a high-level overview of the authentication architecture and core components, please refer to the Main Authentication Introduction.
Sections
- Secure Server-to-Server Communication: Understanding the distinction between JWE for user sessions and signed JWTs for service identity.
- Handling Sensitive Data: A guide to handling sensitive user data, such as passwords and personal information, according to privacy regulations.
- Social Login Best Practices: Best practices for implementing secure social login with providers like Google and Facebook.
- Isomorphic Session Consistency: Maintaining a consistent user experience between Web and Native platforms.
- Token Storage Do's and Don'ts: A guide to secure token storage strategies for browsers and mobile devices.
- Error Handling & UX Patterns: Best practices for handling authentication errors and providing user-friendly feedback.