How to set up Okta (SAML) for Affinity access
Set up a custom application within Okta for authentication into Affinity. Follow these steps to get started:
- Click on the Applications tab on the left sidebar, then click Create App Integration.
- On the following pop-up, select SAML 2.0, then click Next.
- Under the General Settings tab, fill out the App name. The App logo and App visibility fields can be filled out if you'd like. Then, click Next.
- Under the Configure SAML tab, fill out the following fields:
- Single sign-on URL:
https://subdomain.affinity.co/auth/sso/saml-callback
Note: Please replace subdomain with your actual Affinity subdomain. - Audience URI (SP Entity ID): affinity
Note: This can be changed to an ID of your preference, however, if it is not "affinity", please provide us with your ID. - Default RelayState: {"platform", "web"}
Note: For an IDP-initiated setup, replace{"platform", "web"}
withIDP-INITIATED-FLOW
and let us know at support@affinity.co. - Name ID Format: EmailAddress
- Single sign-on URL:
- Next, the Attribute Statements is not optional and must be filled out with the following below, since Affinity would need the user's email address to be returned.
- Finally, click Next, then click Finish. This should automatically take you to the Sign On tab for your newly-created application.
- Scroll down to SAML Signing Certificates section and please provide the URL for the Active cert (IdP Metadata). Here are the following fields we need to know to finish the setup:
- Audience URI (SP Entity ID)
- IdP metadata URL
- Optional: Default RelayState (only if it is IDP-initiated)