Skip to content

Single Sign-On (SSO) to Dropbox#

This document is a step-by-step guide to setting up Dropbox SSO in Gluu Server. This SSO requires setting a custom nameid called emailnid.

Custom NameID#

Please refer here on how to create custom attributes.

The new attribute screen should look like the screenshot below image

  • The custom nameid needs to be defined in the attribute-resolver template file. Documentation is available here

  • Restart the identity and idp services

Trust Relationship#

Please refer here to create trust relationship and fill up the form with the following info

The metadata for Dropbox is necessary to create trust relationship. Please use the following snippet so create the dropbox_metadata.xml.

 <EntityDescriptor entityID="Dropbox" xmlns="urn:oasis:names:tc:SAML:2.0:metadata">
    <SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
        <AssertionConsumerService index="1" Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="" />
  • Display Name: Dropbox
  • Description: External SP / File method
  • Metadata Type: File
  • SP Metadata File: Upload the 'dropbox_metadata.xml' which you just created
  • Configure Specific RelyiningParty: Yes

    signResponses: conditional
    signAssertions: never
    signRequests: conditional
    encryptAssertions: never
    encryptNameIds: never

  • Released attribute: emailnid image

Configure Gluu Server as IdP in Dropbox#

  • Log into Dropbox
  • Click on Admin Console
  • Click Authentication
  • Click on the checkbox labeled Enable single-sign-on
  • Optional/Required according to necessity

    • Sign in URL


    • X.509 certificate Get shibIDP.crt from Gluu Server chroot environment under /etc/certs/ folder and upload it


  • Save configuration

Test SSO#

  • Access and click on the Sign In button

  • If the account is configured for SSO, then a screen similar to the screenshot below will appear after entering the email address. image

  • Click Continue and the website will redirect to Gluu Server for authentication.