Skip to content

Support for Multiple OpenID Connect Providers per Instance #284

@v1lling

Description

@v1lling

Currently, the SimpleSAMLphp OpenID Connect module does not support multiple OpenID Connect (OIDC) providers per instance. In contrast, SimpleSAMLphp natively supports multiple SAML Identity Providers (IdPs) by defining multiple metadata entries, like so:

<?php
/* The index of the array is the entity ID of this IdP. */
$metadata['entity-id-1'] = array(
    'host' => 'idp.example.org',
    /* Configuration options for the first IdP. */
);
$metadata['entity-id-2'] = array(
    'host' => '__DEFAULT__',
    /* Configuration options for the default IdP. */
);

It would be great if a similar approach could be implemented for OIDC providers, allowing a single SimpleSAMLphp instance to serve multiple OIDC configurations.

Is there any existing workaround for this?
Would this be feasible within the current architecture of the module?
Any guidance on where to start if someone wants to contribute to this feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions