Skip to main content

Okta SSO Integration

This guide walks IT administrators through configuring Okta SAML 2.0 single sign-on for Bicycle.

Prerequisites

You need an Okta administrator account that can manage Directory → Groups and Applications.

For Entity ID, ACS URL, and Bicycle Admin fields, see SAML Integration.

Step 1: Create groups

Bicycle has three roles — Admin, Editor, and Viewer — so you can either:

  • Create one group for each of the three roles, or
  • Create groups for Admin and Editor only, and have Bicycle treat any other user who can sign in as Viewer

Create a group

  1. In the Okta Admin Console, go to Directory → Groups.
  2. Click Add group.
  3. Enter a name (for example, BicycleAdmins) and an optional description, then click Save.
  4. Repeat for each group you need (for example, BicycleEditors, BicycleViewers).
Group name (example)Bicycle role
BicycleAdminsAdmin
BicycleEditorsEditor
BicycleViewersViewer
tip

Prefix group names with Bicycle or bicycle- so they are easy to find. You may use different names — share the exact names with Bicycle for role mapping.

Assign people to groups

  1. Open Directory → Groups and select a Bicycle group (for example, BicycleAdmins).
  2. Open the People tab → Assign people.
  3. Add the users who should have that Bicycle role, then click Save.
  4. Repeat for the other Bicycle groups.

Groups are now ready for Bicycle.

Step 2: Create a SAML app for Bicycle

  1. Go to Applications → Applications.
  2. Click Create App Integration.
  3. Choose SAML 2.0, then click Next.
  4. On General Settings, set the app name to Bicycle (optional logo / description), then click Next.

Configure SAML settings

On the Configure SAML page, enter:

FieldValue
Single sign-on URL (ACS)https://app.bicycle.ai/api-proxy/api/tenants/auth/login/saml/callback
Audience URI (SP Entity ID)https://app.bicycle.ai
Default RelayState(optional) leave blank unless Bicycle provides one
Name ID formatEmailAddress
Application usernameEmail
note

Use the ACS URL and Entity ID your Bicycle contact confirms if your environment differs from the defaults above.

Attribute statements (optional)

If Bicycle asks for an explicit email attribute in addition to Name ID:

NameName formatValue
emailUnspecifieduser.email

Group attribute statements

Add a group attribute so Bicycle receives role groups in the assertion:

NameName formatFilter
groupsUnspecifiedMatches Bicycle* (or Equals each of BicycleAdmins, BicycleEditors, BicycleViewers)

Click Next, choose whether this is an internal app for your org, then Finish.

Share SAML IdP details with Bicycle

  1. Open the Bicycle application → Sign On.
  2. Click View SAML setup instructions (or download Identity Provider metadata).
  3. Collect:
ArtefactOkta field
SSO URL (Login / Entry Point)Identity Provider Single Sign-On URL
Issuer (Entity ID)Identity Provider Issuer
CertificateX.509 Certificate (Base64)
OptionallyIdP metadata XML

Step 3: Assign groups to the app

  1. Open the Bicycle application → Assignments.
  2. Click Assign → Assign to Groups.
  3. Assign BicycleAdmins, BicycleEditors, and BicycleViewers (or assign individual users).
  4. Click Save / Done.

You can also assign groups from Directory → Groups → [group] → Applications.

Configure Bicycle

A Bicycle admin completes setup under Admin → Authentication (Identity Provisioning / SAML SSO):

  1. Enable SAML SSO.
  2. Enter the Okta artefacts (or upload IdP metadata):
FieldWhat to enter
Entry PointOkta Identity Provider Single Sign-On URL
IssuerOkta Identity Provider Issuer
Callback URLBicycle ACS URL (usually pre-filled)
CertificateOkta X.509 certificate (Base64 / PEM)
Email domainYour organization email domain
  1. Map Okta groups to Bicycle roles:
Bicycle roleExample Okta group
AdminBicycleAdmins
EditorBicycleEditors
ViewerBicycleViewers
  1. Save the configuration.

Example SAML SSO configuration in Bicycle Admin

See Part 2: Bicycle platform configuration.

Artefacts to share with Bicycle

ArtefactSource in Okta
SSO URL (Login URL)Sign On → View SAML setup instructions
Issuer (Entity ID)Same page
CertificateX.509 Certificate (Base64)
Group namesExact Okta group names
Email domainYour corporate email domain

Test sign-in

  1. From a user assigned to one of the Bicycle groups, open https://app.bicycle.ai/{tenant}/login.
  2. Choose SSO and complete Okta sign-in.

Bicycle sign-in page with OTP, Password, and SSO options

  1. Confirm the user lands in Bicycle with the expected role.

IdP-initiated login is also supported: users can open Bicycle from their Okta End-User Dashboard after the app is assigned.

Troubleshooting

If users cannot sign in:

  • Confirm they are assigned to the Bicycle app and the correct Bicycle* group
  • Confirm their email domain matches the domain configured in Bicycle
  • Confirm the ACS URL and Audience URI match the values above
  • Confirm the groups attribute filter includes your Bicycle groups
  • Review Okta System Log for SAML errors

Need help?

Contact your Bicycle implementation team or email support@bicycle.ai.