Authentication Provider Plugins
Learn how to secure your Amplication resources with authentication plugins. Supports JWT, Basic Auth, Auth0, Supertokens, SAML, Keycloak for Node.js and ASP.NET Core Identity for .NET applications.
Amplication offers a variety of authentication provider plugins to secure your services and authenticate users. This guide helps you understand the available options and how to configure them.
Authentication plugins are available for Node.js and .NET blueprint options. If you’re using a custom blueprint, you can implement your own authentication solution using our custom plugins.
Add Authentication
To add authentication to your service:
Navigate to Plugins
Go to your service in the Amplication UI and click on the Plugins tab in the navigation bar.
Select Authentication Category
In the Plugins page, locate the Authentication category in the left sidebar menu.
Choose Auth Provider
Select an Auth Provider plugin that suits your needs from the available options listed below. Click “Install” to add the plugin to your service.
For Node.js services, ensure you install the “NestJS Auth Module” plugin first, as it provides the core authentication framework.
Configure Settings
After installing a plugin, you will see a Settings button. Click it to access the configuration page where you can adjust various settings in JSON format, such as default credentials or API keys.
Build Your Service
Finally, generate the code for your resource to apply the authentication plugin.
Available Authentications Providers
Each authentication provider has specific configuration options and requirements. Expand each provider below to learn more about its settings and usage.
Additional Resources
Was this page helpful?