Create a SAML provider
authentik SAML providers can be created either from scratch or by using SAML metadata exported from the Service Provider (SP). Optionally, the metadata of an authentik SAML provider can be exported back to the SP. Note, however, that many SPs do not support exporting their metadata or importing Identity Provider (IdP) metadata.
Create a SAML provider and application pair
To create a provider along with the corresponding application that uses it for authentication, navigate to Applications > Applications and click Create with provider. We recommend this combined approach for most common use cases. Alternatively, you can use the legacy method to solely create the provider by navigating to Applications > Providers and clicking Create.
- Log in to authentik as an administrator, and open the authentik Admin interface.
- Navigate to Applications > Applications and click Create with provider to create an application and provider pair.
- On the New application page, define the application details, and then click Next.
- Select SAML Provider as the Provider Type, and then click Next.
- On the Configure SAML Provider page, provide the configuration settings and then click Submit to create both the application and the provider.
Create a SAML provider from SP metadata (import SP metadata)
If you have exported SAML metadata from your SP, you can optionally create the authentik SAML provider by importing this metadata.
- Log in to authentik as an administrator, and open the authentik Admin interface.
- Navigate to Applications > Providers and click Create to create a provider.
- Select SAML Provider from Metadata as the Provider Type, and then click Next.
- On the Create SAML Provider from Metadata page, provide the configuration settings along with an SP metadata file and then click Finish to create the provider.
- (Optional) Edit the created SAML provider and configure any further settings.
Export authentik SAML provider metadata
After an authentik SAML provider has been created via any of the above methods, you can access its metadata in one of two ways:
Download authentik metadata
To download the metadata of an authentik SAML provider, follow these steps:
- Log in to authentik as an administrator, and open the authentik Admin interface.
- Navigate to Applications > Providers.
- Click the name of the provider you want metadata from to open its overview tab.
- In the Related objects section, under Metadata click on Download. This will download the metadata xml file for that provider.
Access metadata tab
To view and optionally download the metadata of an authentik SAML provider, follow these steps:
- Log in to authentik as an administrator, and open the authentik Admin interface.
- Navigate to Applications > Providers.
- Click the name of the provider you want metadata from to open its overview tab.
- Navigate to the Metadata tab.
- The metadata for the provider will be shown in a codebox. You can optionally use the Download button to obtain the metadata as a file.