Skip to main content

SAML Integration

Nick Hui avatar
Written by Nick Hui
Updated over a year ago

What is SAML Integration?

SAML integration is the means to allow a user to authenticate with MedMe platform using their own corporations identity management service. To put it more simply, clicking login on MedMe will redirect the user to their own corporation's login service (i.e., Microsoft Login) in which they can enter their usual credentials to successfully login to MedMe without having to create another set of login credentials for each user just for MedMe.

Terms to understand

Identity Provider (IdP)

A system that creates, maintains, and manages identity information for principals (users, services, or systems) and provides principal authentication to other service providers (applications) within a federation or distributed network

example: Azure AD (Azure Active Directory)

Security Assertion Markup Language (SAML)

SAML is a standard for securely exchanging user’s identity between SAML authority (called an identity provider or IdP) and SAML consumer (called a service provider or SP). Thus defining 3 roles: the principal (user), identity provider and service provider.

Service Provider (SP)

An entity that provides Web Services that receives and accepts authentication assertions in conjunction with a single sign-on (SSO) profile of the Security Assertion Markup Language (SAML). SAML’s Service Provider depends on receiving assertions from a SAML Identity Provider.

MedMe's Setup

Service Provider (SP):

  • Amazon Cognito

Identity Provider (IdP):

  • Azure AD

    • Commonly used by MedMe's enterprise clients

Visually

Enterprise Client Instructions

*Instructions vary depending on the IdP

  1. Create a new "Enterprise Application"

    1. Create a "New Application"

    2. Use "Non-gallery Application" as the type

  2. Single Sign On

    1. Choose "SAML"-based single sign on

    2. In the section "Domain and URLs" enter the SP's Identifier (Sometimes called Entity ID), Reply URL (sometimes called ACS), and Logout URL.


      MedMe will provide your unique URLs and identifiers to you via email.

  3. Provide MedMe with Metadata

    1. After step 2 is finished and saved, provide MedMe with the SAML Metadata

      1. Ideally provide MedMe with both the metadata URL as well as the metadata XML

    We expect to receive fields like:

    • First Name

    • Last Name

    • Email

    • Store(s)

    • Role

    • License Number (if applicable)

  4. Add users to your new application

    1. Add users to this application to give them access to MedMe

  5. Configuring Attributes

  6. Test it out!

    1. Open Single sign-on section of your application in the Azure portal and choose button “Test SAML Settings”

Did this answer your question?