SAML Providers
Okta
Learn how to set up an Enterprise Connection with Okta.
Prerequisites
You need your project’s SAML Assertion Consumer Service (ACS) URL and the Service Provider (SP) Entity ID.
Service Provider Entity ID
The SP Entity ID for your Hanko project is equal to the API URL of your project.
To find the API URL for your project:
- Log in to Hanko Cloud and select your project.
- Navigate to
Dashboard
. - Copy and save the
API URL
.
Service Provider ACS URL
To find the Assertion Consumer Service (ACS) URL for your project:
- Log in to Hanko Cloud and select your project.
- Navigate to
Settings > Enterprise connections
. - Under
Enterprise connections
find theRedirect URL
panel. - Copy and save the URL.
Create an Okta application
- Create an account at Okta. Once registered, access the Okta Administration
console at
https://<your_organization>-admin.okta.com
. - Select
Applications > Applications
in the left sidebar. - Click
Create App Integration
.
- In the shown modal select
SAML
as the sign-in method. - Click
Next
.
- In the
Create SAML Integration
wizard, provide anApp name
. - Click
Next
.
- Under
Single sign-on URL
enter your ACS URL (see Prerequisites - Service Provider ACS URL). - Under
Audience URI (SP Entity ID)
enter you project API URL (see Prerequisites - Service Provider Entity ID).
- Scroll down and find the
Attribute statements
panel. UnderName
enterhttp://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress
. - Under
Name format
selectURI Reference
- Under
Value
selectuser.email
. - Click
Next
.
- Provide feedback on the next screen of the configuration wizard and click
Finish
. - Select
Sign On
in the top tab navigation. - In the
Settings > Sign-on methods > SAML 2.0
panel find theMetadata URL
in theMetadata details
and copy it. You need this for configuring the enterprise connection with Hanko.
Assign users to your application
In order for users to log in you probably have to assign users to it. To assign users
- Select
Applications > Applications
in the left sidebar. - Click
Assign Users to Apps
.
- Select the app you want to assign users to.
- Select users you want to assign to the app.
- Click
Next
.
- Review your assignments and click
Confirm assignments
.
Configure an enterprise connection
- Log in to Hanko Cloud and select your project.
- Navigate to
Settings > Enterprise connections
. - Under
Connections
, clickNew connection
.
- In the shown modal provide the following data:
- A
Name
for the connection. - A
Domain
for the connection. When users authenticate via SAML SSO, the domain of the email address provided as an identifier at the start of an authentication flow must match the domain configured here. - A
Metadata URL
. This is the URL you copied in step 16 in Create an Okta application. - Select whether you want skip email verification for this provider.
- A
- Click
Save
to create the connection.
Testing your integration
To test your integration via IdP-initiated flow:
- On the top right click the user dropdown.
- Click
My settings
.
- In your end-user profile select
My Apps
in the left sidebar. - Find your app and click its icon.
Was this page helpful?