Adding an Authentication "First Broker Login" Flow for SAML Provider
An Aerobase authentication flow should be created. It is to be used for the Single Sign On workflow with the OKTA identity provider.

-
Access the Aerobase Admin page, using the URL http://[FQDN or IP]/auth/admin/kryon/console/#/realms/kryon
-
Go to Authentication (under Configure on the left pane)
-
Go to the Flow tab
-
On the right side of the page, click New
-
Create a flow with the name, First Broker Login
-
Click Save
-
Add a new flow named “User Creation Or Linking”
-
Press the Add flow button on the right upper hand side of the screen
-
Type the value “User Creation Or Linking” for Alias and click Save
-
Assign requirement to REQUIRED
-
-
Add a new execution under flow “User Creation Or Linking”
-
Navigate to the second step from the top (“User Creation Or Linking”) → Actions → Add Execution
-
Set the value by Provider to Create User if Unique and click Save
-
Assign the requirement to ALTERNATIVE
-
By Actions, click Config, Create Authenticator Config opens
-
Type the value "Create Unique User Config" for Alias and click Save
-
-
Add a new flow under flow “User Creation Or Linking”
-
Navigate to the second step from the top (“User Creation Or Linking”) → Actions → Add Flow
-
Type the value “Handle Existing Account 2” for Alias and click Save
-
Assign the requirement to ALTERNATIVE
-
-
Add a new execution under the flow “Handle Existing Account 2”
-
Navigate to the fourth step from the top (“Handle Existing Account 2”) → Actions → Add execution
-
Set the value by Provider to Confirm Link Existing Account and click Save
-
Assign the requirement to REQUIRED
-
-
Add a new flow under flow “Handle Existing Account 2"
-
Navigate to the fourth step from the top (“Handle Existing Account 2”) → Actions → Add flow
-
Type the value “Account Verification Options” for Alias and click Save
-
Assign the requirement to REQUIRED
-
-
Add a new execution under flow “Account Verification Options”
-
Navigate to the sixth step from the top (“Account Verification Options”) → Actions → Add execution
-
Set the value by Provider to Verify Existing Account by Email and click Save
-
Assign the requirement to ALTERNATIVE
-
-
Add a new flow under flow “Account Verification Options”
-
Navigate to the sixth step from the top (“Account Verification Options”) → Actions → Add execution
-
Type the value “Verify Exisiting Account by Re-authentication” for Alias and click Save
-
Assign the requirement to ALTERNATIVE
-
-
Add a new execution under flow “Verify Existing Account By Re-authentication”
-
Navigate to the eighth step from the top (“Verify Existing Account By Re-authentication”) → Actions → Add execution
-
Set the value by Provider to Username Password Form for Identity Provider Re-authentication and click Save
-
Assign the requirement to REQUIRED
-
-
Add a new flow under flow “Verify Existing Account By Re-authentication”
-
Navigate to the eighth step from the top (“Verify Existing Account By Re-authentication”) → Actions → Add flow
-
Type the value “First broker Login - Conditional OTP” for Alias and click Save
-
Assign the requirement to CONDITIONAL
-
-
Add new execution under flow “First Broker Login - Conditional OTP”
-
Navigate to the tenth step from the top (“First Broker Login - Conditional OTP”) → Actions → Add execution
-
Set the value by Provider to Condition - User Configured and click Save
-
Assign the requirement to REQUIRED
-
-
Add a second execution under flow “First Broker Login - Conditional OTP”
-
Navigate to the tenth step from the top (“First Broker Login - Conditional OTP”) → Actions → Add execution
-
Set the value by Provider to OTP Form and click Save
-
Assign the requirement to REQUIRED
-
The Authentication Flow is now complete and should be defined as described below:

Once the authentication flow is defined as described above, it should be linked to the OKTA’s identity provider to complete the authentication: First Broker Login Flow.
To link the authentication flow the Okta's identity provider:
-
Go to Identity Providers (under Configure on the left pane)
-
In the Settings tab, under First Login Flow, select the new flow that was created, First Broker Login Flow