Skip to content

SAML to OKTA - Caught exception in captiveportal::Controller::Root->dynamic_application #8472

Open
@coRpTitan

Description

Describe the bug
SAML auth towards OKTA.com does not work on guest portal. User is re-directed to Identity provider, there he/she can login. After successful login user is re-directed back to the portal, where user can see error:

Caught exception in captiveportal::Controller::Root->dynamic_application "Can't use string ("Can't call method "Attribute" on"...) as a HASH ref while "strict refs" in use at /usr/local/pf/lib/pf/Authentication/Source/SAMLSource.pm line 207."

To Reproduce
Configure PF SAML source as following: pf-saml-config
I'm sure about validity of certificates.

Screenshots
pf-saml-error

Expected behavior
Portal should process SAML assertion message and allow user to login or display better error message indicating what is wrong.

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser Edge
  • Seems no to be client/browser related, as I have tried various combinations of client/browser.

Additional context
Attached screenshot from SAML config on PF and also assertion message captured from client's browser.
OKTA-SAML-ASSERTION.txt
( I have redacted sensitive values, but I'm sure about their validity as same Okta instance is used by other applications for SAML authentication ).

Is there any debug log I can share? I'm using PF in version 14.0 running on most recent Debian 12.

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions