Implementing new SSO provider

View Source

See Confluence documentation on what's required from the client. Please update that page or this guide with any useful learnings.

See a sample PR for adding Okta based configuration: Petfolk's SSO configuration #4175.

Guidelines

  • Never share our own certificate or key, the client should send us either their SSL cert or an XML file with the cert and metadata
  • The client can choose whether they automatically provision the users. That means that upon receiving successful login, we look up the user or create one if it's missing. Do not set a password for them.
  • Ask to be added to their SSO, so that you can test locally and iterate before promoting to staging/production
  • To enable an org to use SSO, you need to configure a hidden org preference. Log in as vetspire user and scroll down - populate it with the Sign On URL based on Confluence. This enables SSO login - only do it on staging/production after deploying the changes.

Screenshot of org preferences

Development

See Confluence docs for full development setup: SSO in local environments