Applies To:
-
BIG-IP APM
16.0.1, 16.0.0
Adding a Variable Assign agent to collect the username in an OAuth MFA subroutine
You should have a per-request policy, and SAML authentication servers for authentication with and without MFA.
Create the subroutines to allow continuous checks and reauthenticate with RADIUS and MFA when the user goes to a specific URL.
-
From the Main tab, click Access > Profiles / Policies > Per-Request Policies.
-
Find the policy you want to edit, and in the Per-Request Policy column, click Edit.
-
In the per-request policy, click Add New Subroutine.
-
Name the subroutine for use with OAuth and MFA. For example,
radius_mfa_okta. -
Click Save.
-
Expand the subroutine, and click the plus to add a new item.
-
Click the Assignment tab, select Variable Assign, and click Add Item.
-
Click Add new entry.
-
On the left, select Custom Variable and type
subsession.logon.last.username. -
On the right, select Session Variable and type
last.subsession.logon.last.logonname. -
Click Finished.
Configure the remaining items for the subroutine.