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
- 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.
- Enter a Name, for example
Okta, pick SAML as its Type and click Create the connection. - Keep the page open: it shows the Single sign-on URL (ACS URL) and the Audience URI (Entity ID) that Okta asks for.
2. Create the application at Okta
- In the Okta Admin Console, go to Applications, then Applications, and click Create App Integration.
- Pick SAML 2.0 and continue.
- Give the application a name, for example
Ipregistry, and continue. - 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.
- Optional, so that new members get their name: add the attribute statements
firstNamewith the valueuser.firstNameandlastNamewith the valueuser.lastName. - Leave the other settings as they are. Okta signs with SHA-256 and does not encrypt the assertion, which is what Ipregistry expects.
- 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
- On the tab Sign On of the application, copy the Metadata URL.
- 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.
- Click Test the connection and sign in at Okta.
Then carry on with the last steps.
With OpenID Connect
1. Create the connection on Ipregistry
- 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.
- Enter a Name, pick OpenID Connect as its Type and click Create the connection.
- Keep the page open: it shows the Redirect URI that Okta asks for.
2. Create the application at Okta
- In the Okta Admin Console, go to Applications, then Applications, and click Create App Integration.
- Pick OIDC - OpenID Connect, then Web Application, and continue.
- Give the application a name and keep the grant type Authorization Code.
- In Sign-in redirect URIs, replace what is there with the Redirect URI of the connection.
- Remove the sign-out redirect URI: Ipregistry does not use one.
- Under the assignments, choose who gets the application, yourself included, and save.
3. Give Ipregistry the settings of the application
- On the tab General of the application at Okta, copy the Client ID and the Client secret.
- 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.
- Issuer: the address of your Okta organization, such as
- Click Test the connection and sign in at Okta.
Last steps
- Once the test went through, click Switch on on the page of the connection.
- 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.
- Click Link to a connection on the row of the domain and pick the connection.
- Decide whether the connection is a choice or the only way in, with Require this connection.
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.