< All Topics

SSO Configuration for Admin Console

In this document, we will look in to the necessary configurations needed to configure Admin Console to enable SSO using external identity providers such as Active Directory, IAM Identity Center, Okta, etc.


Make sure, you have the SAML metadata file of the external identity provider before configuring  Admin console.

NirvaShare Configuration​

  • Login to NirvaShare Admin Console and click on Users & Roles tab.
  • Edit the existing Default Role
  • In the Access Settings, select the Full Access checkbox and click UPDATE. Later you can change the access to default logins.
  • In the SSH to Linux terminal where NirvaShare is installed, create a file with the below path and filename. Make sure you login as root user.
  • Add the following entries in to the file.
ns_saml2_sp_company_name= <Your company name>
ns_saml2_sp_email=<your contact email id>
ns_saml2_sp_domain_url=https://<adminconsole domain name>
  • Make sure you replace with a proper values for attributes names
  • Save the config.properties.
  • Restart Admin Console service using below command
docker restart nirvashare_admin

External IDP Metadata

In case you have the SAML  metadata file from an external IDP, please follow below steps to configure admin console, otherwise same can be configured later as well.

  • Copy the SAML metadata file obtained from external identity provider to /var/nirvashare folder with filename as idp-metadata.xml as shown below.
  • Restart Admin Console service using below command
docker restart nirvashare_admin

NirvaShare SAML Metadata

While configuring external IDP, you may require the SAML metadata file of NirvaShare Admin Console, the same can be obtained using the below URL. Make sure to mention your domain name.

Metadata URL - https://admin.yourcompany.com/saml/0/metadata

Save the content of above URL in the local file system. This will be the SAML metadata file of Admin Console of NirvaShare.

Certain external Identity Providers may instead require ACS and Entity Id URLs instead of metadata file. In those cases, please refer to below URLs.

ACS URL - https://<your domain>/saml/0/acs
Entity Id URL - https://<your domain>/saml/0/metadata
Table of Contents