Okta
Follow this step-by-step guide to configure the integration between Port and Okta using a SAML application.
Port-Okta integration benefits
- Connect to the Port application via an Okta app.
- Your Okta groups will be automatically synced with Port upon a user sign-in.
- Set granular permissions on Port according to your Okta groups.
Register a new application
-
Sign in to your Okta Admin Console.
-
Navigate to
Applicationsand click onApplicationsagain. -
Click on the
Create App Integrationbutton. -
In the pop-up, select
SAML 2.0and click onNext. -
In the
General Settings, enter a name for the application and click onNext. -
On the
Configure SAMLpage, underSAML Settings, fill in the following details based on your account region:Finding your connection nameYour 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 theconnectionparameter in the URL.- EU
- US
- Single sign on URL:
https://auth.getport.io/login/callback?connection=company-<companyID>-SSO - Audience URI (SP Entity ID):
urn:auth0:port-prod:company-<companyID>-SSO
- Single sign on URL:
https://auth.us.getport.io/login/callback?connection=company-<companyID>-SSO - Audience URI (SP Entity ID):
urn:auth0:port-prod:company-<companyID>-SSO
-
Scroll down to the
Attribute Statements (Optional)section and add the following:email, with theValueset touser.emailgiven_name, with theValueset touser.firstNamefamily_name, with theValueset touser.lastNameemail_verified, with theValueset totrue
-
Click
Nextand thenFinishto create the application.
Generate a certificate and configure the connection
-
In the Okta Admin Console, navigate to
Applications, and select the newly created SAML application. -
Go to the
Sign Ontab and scroll down to theSAML Signing Certificatessection. -
Click on
Generate new certificate. -
In the dialog, specify the certificate details such as the name and duration, then click
Generate. -
Download the certificate by clicking the
Actionsbutton next to the new certificate and selectingDownload certificate. Choose thePEMformat. -
In the Configure Connection section of the Port setup flow, provide your Okta credentials using one of the following options:
- Automatic - paste your Okta metadata URL to auto-populate the connection settings.
- Manual - upload the downloaded PEM certificate and enter the Single Sign-On login URL from your Okta application.
-
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:
After configuring the SSO connection, you can initiate the login flow directly via URL. Use the following URL based on your account region, replacing company-<companyID>-SSO with your actual connection name. You can find your connection name in the Single Sign-On URL shown during the self-serve SSO setup flow - look for the connection parameter in the URL.
- EU
- US
https://auth.getport.io/authorize?response_type=token&client_id=96IeqL36Q0UIBxIfV1oqOkDWU6UslfDj&connection=company-<companyID>-SSO&redirect_uri=https%3A%2F%2Fapp.port.io
https://auth.us.getport.io/authorize?response_type=token&client_id=4lHUry3Gkds317lQ3JcgABh0JPbT3rWx&connection=company-<companyID>-SSO&redirect_uri=https%3A%2F%2Fapp.us.port.io
Expose groups
To expose your Okta groups to Port via the application, follow these steps:
-
In the
Generaltab of your Okta application, clickEdit. -
Scroll down to the
Group Attribute Statementssection. -
Add a group attribute using the following settings:
- Name:
groups - Filter:
Regex - Value: Use a regular expression that matches the groups you wish to send to Port (e.g.,
.*for all groups or a specific pattern).
- Name:
-
Save your changes.
These groups will be ingested into Port as teams, enabling you to manage user permissions and RBAC in your Port account.