Skip to main content

To configure Appsmith to use Okta as a SAML provider, follow the steps below:


  1. A self-hosted Appsmith instance. See the installation guides for installing Appsmith.
  2. Before setting up Single Sign-On (SSO), ensure that you have already configured a custom domain for your instance.
  3. In Appsmith, go to Admin Settings > Authentication and click Enable on SAML 2.0.
  4. Copy the Redirect URL and Entity ID from the SAML 2.0 configuration page to add them later in the Okta settings.
SAML configurations
SAML configuration in Appsmith

Create application on Okta

  1. Log in to your Okta account and on the Get started with Okta page, click Add App for Use single sign on.

  2. On the Browse App Integration Catalog page, click Create New App.

  3. A pop-up titled Create a new app integration appears. Choose SAML 2.0 as the Sign-in method and click Next.

  4. On the Create SAML Integration page, add a name for your app in General settings. Click Next.

  5. In Configure SAML:

    a. Add the Redirect URL in Single sign-on URL field.

    b. Add the Entity ID in the Audience URI (SP Entity ID) field.

    c. From the Name ID format options, select emailAddress.

    d. Pick Email from the Application username options.

    e. Click Next to proceed.

  6. Fill in the required feedback or additional information in the final step and click Finish.

  7. On your application's homepage, go to the Sign-on tab and copy the Metadata URL from the SAML 2.0 section to add it later in the SAML configurations in Appsmith.

  8. Go to the Assignments tab, and click Assign to assign people or groups to this application.

Register Okta in Appsmith


If you are running Appsmith on Google Cloud Run or AWS ECS, make sure to configure your service before setting up SSO. For detailed instructions, see the Configure Google Cloud Run for SSO, or Create PostgreSQL RDS for SAML SSO guide.

To complete the SAML configuration, you have to register the identity provider on Appsmith. Appsmith provides three options to register the identity provider as mentioned below:

To register Okta as the identity provider on Appsmith, follow the steps below:

  1. Go to the SAML 2.0 configuration page in Appsmith and navigate to Register Identity Provider section.
  2. Add the copied Metadata URL in the Metadata URL field under the Register Identity Provider section.

Once you have added the details, click the SAVE & RESTART button to save the configuration and restart the instance.

After the Appsmith instance restarts, try logging in again to your account. You'll see a login screen with the SIGN IN WITH SAML SSO button.

Login with SAML SSO

See also