SAML
This documentation will describe the process of integrating a SAML application with Port, along with some examples for specific identity providers.
In order to integrate Port with a SAML SSO application, you will need to do the following:
- Create a new SAML application in your identity provider.
- In the Configure Connection section of the Port setup flow, provide your IdP credentials using one of the following options:
- Automatic - paste your IdP's metadata URL to auto-populate the connection settings.
- Manual - upload the PEM certificate (
.pemfile) and enter the Single Sign-On login URL from your identity provider.
- In the same Configure Connection section, open Advanced settings and set the following:
- Sign Request Algorithm:
RSA-SHA256 - Sign Request Algorithm Digest:
SHA256 - Protocol Binding:
HTTP-Post
- Sign Request Algorithm:
- If your identity provider requires a SAML metadata XML file, create an XML file containing the relevant URL below (based on your region) and upload it to your SAML application to complete the connection:
-
EU:
https://auth.getport.io/samlp/metadata?connection=company-<companyID>-SSO -
US:
https://auth.us.getport.io/samlp/metadata?connection=company-<companyID>-SSOReplace
company-<companyID>-SSOwith your connection name (see the prerequisites in the self-serve SSO guide for how to find it).
- Update the application with the following attributes (Port expects the IdP to send the following attributes and their values in the authentication request, for example:
firstnameis the attribute in the IdP provider, andgiven_nameis the key Port expects to receive that data in the authorization mapping):- User attribute mappings -
target attribute name (Port):source attribute name (SSO app):email:emailgiven_name:firstnamefamily_name:lastname
- Constant attributes:
email_verified:trueIf your login provider does not support metadata files, use the following information:
- User attribute mappings -
- IdP EntityID:
https://auth.getport.io(EU)https://auth.us.getport.io(US)
Your connection name follows the format company-<companyID>-SSO. You can find it in the Single Sign-On URL shown during the self-serve SSO setup flow. Look for the connection parameter in the URL.
-
SP EntityID:
The EntityDescriptor field in the XML, looks like :urn:auth0:port-prod:company-<companyID>-SSO. -
Callback URL:
The AssertionConsumerService binding field in the XML, looks like the URL below:https://auth.getport.io/login/callback?connection=company-<companyID>-SSO(EU)https://auth.us.getport.io/login/callback?connection=company-<companyID>-SSO(US)
Microsoft Entra ID (AzureAD)
Integrate Entra ID (AzureAD) with Port using SAML
Okta (SAML)
Integrate Okta with Port using SAML
JumpCloud
Integrate JumpCloud with Port using SAML
Google Workspace
Integrate Google Workspace with Port using SAML