- Nebius Token Factory, where you create and configure a federation.
- Identity Provider: create an application and connect the application to the federation.
1. Create an application in the Identity Provider
- Okta
Go to Admin Console → Applications → Application and choose “Create App Integration”.Choose “SAML 2.0” sign-in method and set the following parameters on the next screen:
- Single sign-on URL: https://auth.tokenfactory.nebius.com/login/saml2/provider/federation-id
- Audience URI (SP Entity ID): https://auth.tokenfactory.nebius.com/saml2/rp/federation-id
- Name ID format: Unspecified
- Application username: Okta username
Note
federation-id is used temporarily until you create a federation and get its ID. After that, replace federation-id with an actual one.2. Create a federation in Nebius Token Factory
- CLI
-
Install the Nebius CLI tool (an installation script works for macOS and Linux):
-
Create a configuration profile:
An organization ID starts with
aitenant-and could be found on the organization settings page. -
Run the following command:
-
Copy and save the federation ID. It is returned in the
metadata.idfield of the command output.
3. Change the SAML settings of the application
- Okta
- Replace
federation-idwith an actual federation ID in the Okta application configuration. - Navigate to the application configuration page on the Admin Console.
- Then scroll down to the “SAML Settings” section and replace
federation-idwith the created federation ID in the following fields:- Single Sign On URL:
https://auth.tokenfactory.nebius.com/login/saml2/provider/<your-federation-id> - Recipient URL:
https://auth.tokenfactory.nebius.com/login/saml2/provider/<your-federation-id> - Destination URL:
https://auth.tokenfactory.nebius.com/login/saml2/provider/<your-federation-id> - Audience Restriction:
https://auth.tokenfactory.nebius.com/saml2/rp/<your-federation-id>
- Single Sign On URL:
4. Add a signing certificate to the federation
Download a certificate from the Identity Provider.- Okta
- Navigate to the application configuration page on the Admin Console.
- Switch to the “Sign On” tab and scroll down to the “SAML Signing Certificates” section.
- Push “Generate new certificate” and then “Actions → Download certificate” on a line with freshly created active certificate.
- CLI
-
Prepare the
certificate.jsonfile:Specify the certificate body from the downloaded file and the federation ID. In this file, the certificate body is split into several lines. Paste it as a single line tofederation-cert.json. -
Apply the certificate file:
Log in to Nebius Token Factory using the configured SSO
- Open the Nebius Token Factory web console.
- Click the Get started with SSO button.
- Enter the federation ID and click the Sign in button.