Issue
I need to protect my APIs with authentication, but I want to implement custom authentication using APIs. I also need to securely store and access tokens within Appsmith local storage to make API calls. I'm looking for guidance on how to set this up efficiently and effectively.
Resolution
You can implement custom authentication in Appsmith to securely protect your APIs and manage tokens efficiently. This approach is useful when you need to integrate with APIs that require custom headers, OAuth2 tokens, or other authentication mechanisms not natively supported by Appsmith.
Custom authentication in Appsmith allows you to:
- Authenticate users against an external service.
- Store and manage authentication tokens securely.
- Automatically inject tokens into subsequent API calls.
For detailed reference, see [Custom Authentication in Appsmith]