Skip to content

There is no way to define authentication processing filter per particular Relying Party #313

Open

Description

@cicnavi

We should try and mimic the possibility to enable particular authentication processing filter for particular Relying Party, similar in how this is possible for SAML Service Providers described in https://simplesamlphp.org/docs/stable/simplesamlphp-authproc.html#filters-in-metadata

Activity

  1. cicnavi commented on Oct 8, 2025

    @cicnavi
    CollaboratorAuthor

    Hint from @tvdijen: check filter precondition as per https://simplesamlphp.org/docs/stable/simplesamlphp-authproc.html#preconditional-filters

    Sample:

    '%precondition' => 'return strcmp($state["core:SP"], "my-sp-entity-id-that-should-run-this-filter") === 0;',
    
  2. cicnavi commented on Jun 20, 2026

    @cicnavi
    CollaboratorAuthor

    Prepared for v7 in #343

    Clients now have a new property which can be used to define authprocs using JSON format. Precondition sample is also added to documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions