Expand functionality to allow other SSO services

Created on 26 August 2024, 7 months ago

Problem/Motivation

When working with saml_sp and trying to connect a Drupal site to Salesforce SSO I found that the data returned from Saleseforce as a saml2 xml did not contain a returnTo tag which causes the SSO authentication to drop and not be successful on the Drupal end.

When looking at the code the returnTo really is just used to look up an array of data which includes
- id
- idp
- callback_function

The functionality looks like all we are really trying to do is get the IDP and callback_function to proceed through authentication and link or create user accounts.

Steps to reproduce

N/A

Proposed resolution

I will propose a PR with a fix that would allow us to use the saml:Issuer to look up the IDP and store a fallback array that can be used for other non-Shibboleth SSO services that have a different structure of data that it returns.

Remaining tasks

Maintainer input on proposal.

User interface changes

None.

Introduced terminology

API changes

Data model changes

Release notes snippet

✨ Feature request
Status

Active

Version

4.3

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024