Single Sign-On with Okta

This guide connects Okta to your Ipregistry organization. Okta offers both SAML 2.0 and OpenID Connect for an application you create yourself, and both work with Ipregistry. Pick one: SAML needs no secret, and its settings are read from one address.

Read the overview first for what single sign-on does, who can set it up and how domains work. You need to be the owner of the organization on Ipregistry and an administrator at Okta.

With SAML 2.0

1. Create the connection on Ipregistry

  1. In the dashboard, click your organization at the bottom left and choose Settings in the menu that opens. Click Manage SSO, then Add a connection.
  2. Enter a Name, for example Okta, pick SAML as its Type and click Create the connection.
  3. Keep the page open: it shows the Single sign-on URL (ACS URL) and the Audience URI (Entity ID) that Okta asks for.
The page of a new SAML connection named Okta on Ipregistry, with its Single sign-on URL (ACS URL) and its Audience URI (Entity ID), each with a button to copy it.
The page of the connection gives the two values Okta asks for.

2. Create the application at Okta

  1. In the Okta Admin Console, go to Applications, then Applications, and click Create App Integration.
  2. Pick SAML 2.0 and continue.
  3. Give the application a name, for example Ipregistry, and continue.
  4. Fill the SAML settings:
    • Single sign-on URL: the Single sign-on URL (ACS URL) of the connection. Leave the box that uses it as recipient and destination checked.
    • Audience URI (SP Entity ID): the Audience URI (Entity ID) of the connection.
    • Name ID format: EmailAddress.
    • Application username: Email.
  5. Optional, so that new members get their name: add the attribute statements firstName with the value user.firstName and lastName with the value user.lastName.
  6. Leave the other settings as they are. Okta signs with SHA-256 and does not encrypt the assertion, which is what Ipregistry expects.
  7. Finish the creation.

3. Assign the application

On the tab Assignments of the application, assign the people or the groups who sign in to Ipregistry, yourself included. Someone who is not assigned gets the Okta message "User is not assigned to this application".

4. Give Ipregistry the metadata of Okta

  1. On the tab Sign On of the application, copy the Metadata URL.
  2. On the page of the connection on Ipregistry, paste it in Metadata URL and click Read. It fills Issuer, Sign-in URL and Signing certificate.
  3. Click Test the connection and sign in at Okta.
The settings of the SAML connection on Ipregistry, with the issuer, the sign-in URL and the signing certificate of Okta.
Read fills the issuer, the sign-in URL and the signing certificate from the metadata of Okta.

Then carry on with the last steps.

With OpenID Connect

1. Create the connection on Ipregistry

  1. In the dashboard, click your organization at the bottom left and choose Settings in the menu that opens. Click Manage SSO, then Add a connection.
  2. Enter a Name, pick OpenID Connect as its Type and click Create the connection.
  3. Keep the page open: it shows the Redirect URI that Okta asks for.

2. Create the application at Okta

  1. In the Okta Admin Console, go to Applications, then Applications, and click Create App Integration.
  2. Pick OIDC - OpenID Connect, then Web Application, and continue.
  3. Give the application a name and keep the grant type Authorization Code.
  4. In Sign-in redirect URIs, replace what is there with the Redirect URI of the connection.
  5. Remove the sign-out redirect URI: Ipregistry does not use one.
  6. Under the assignments, choose who gets the application, yourself included, and save.

3. Give Ipregistry the settings of the application

  1. On the tab General of the application at Okta, copy the Client ID and the Client secret.
  2. On the page of the connection on Ipregistry, enter:
    • Issuer: the address of your Okta organization, such as https://your-company.okta.com, with nothing after it.
    • Client ID and Client secret: the two values copied from Okta.
  3. Click Test the connection and sign in at Okta.
The page of an OpenID Connect connection named Okta on Ipregistry: its Redirect URI, then the issuer, the client ID and the client secret.
The redirect URI to give Okta, and the three settings Okta gives in return.

Last steps

  1. Once the test went through, click Switch on on the page of the connection.
  2. On the page Single Sign-On (SSO), click Add a domain, enter the domain of your work addresses and add the TXT record it gives to your DNS, then click Verify. See the DNS record.
  3. Click Link to a connection on the row of the domain and pick the connection.
  4. Decide whether the connection is a choice or the only way in, with Require this connection.
The page of the connection once its test went through, with the buttons Test the connection and Switch on.
Once the test went through, the connection can be switched on.

Good to know

  • The address Okta gives for a person must be on a domain linked with the connection on Ipregistry.
  • Over SAML, a click on the application in the Okta dashboard signs the person in to Ipregistry.
  • Over OpenID Connect, the application has no address to open by itself. To make its tile work, let the sign-in be started by Okta as well as by the application, and give as the address that starts it the link the card Connections shows once a connection is on.
  • When Okta rotates the signing certificate of a SAML application, click Read again on the page of the connection, then test and switch on again. The page shows when the current certificate expires.
  • Someone who leaves the company: deactivate them at Okta, or unassign the application. See people who leave.