APM Configuration to Support Duo MFA using iRule
Overview
BIG-IP APM has supported Duo as an MFA provider for a long time with RADIUS-based integration. Recently, Duo has added support for Universal Prompt that uses Open ID Connect (OIDC) protoco...
Updated Mar 01, 2025
Version 8.0Hardeep_Kaur
I document user guides, online help, and release notes for F5's BIG-IP APM, F5 Access Apps, and Edge Client products. I also work on Access Guided Configuration online help and compatibility matrices.Ret. Employee
delv3chio
Employee
Joined May 20, 2019
Jerrod_Kimbler
Employee
Vintage F5 Employee, Est. 2006aefting
Altostratus
Sep 28, 2023I wanted to post a follow up to this issue:
Regarding the OAuth branch rule, I was also failing with the rule set to 1. The following fixed it for me. I’m also not clear why this is the case.
Expression: expr {[mcget {session.oauth.client.last.authresult}] == 1} <-- Changed to 0
I opened a ticket with support and they found my problem, I had a typo in my irule -- notice the double "/oauth/v1/token" in this line. When I corrected it, everything worked with the "=1" expression like it should.
set aud https://api-xxxxxdac.duosecurity.com/oauth/v1/token/oauth/v1/token