How to customise SuperTokens APIs
Blog post from SuperTokens
Supertokens offers a flexible and customizable solution for modifying authentication APIs using its "Overrides" feature, which allows developers to alter the behavior of existing APIs without being constrained by predefined hook points. This flexibility is achieved by overriding either the API or function implementations, allowing developers to make changes in the language and web framework they are already familiar with, thus minimizing the learning curve and maintaining consistency within their backend codebase. The approach provides maximum customization options, as developers can incorporate their own logic anywhere in the API process, enabling integration with various services like email, SMS, or anomaly detection systems. Unlike other auth providers that may require uploading code to their platform, Supertokens allows all modifications to reside within the developer's existing codebase, simplifying maintenance and enhancing ease of integration with existing infrastructure.