Skip to content

Resolved configured auth provider plugin - #31

Merged
jekuaitk merged 2 commits into
mainfrom
feature/correctly-resolve-used-provider-plugin
Jul 16, 2026
Merged

Resolved configured auth provider plugin#31
jekuaitk merged 2 commits into
mainfrom
feature/correctly-resolve-used-provider-plugin

Conversation

@jekuaitk

@jekuaitk jekuaitk commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

https://leantime.itkdev.dk/_#/tickets/showTicket/8019

In 2.5.0 session tokens went from one shared key to a per-plugin key.

While this attempted fixing an issue, it failed fully fix the issue. OrganisationEventSubscriber and WebformHelper::checkAccess() made use of getActivePlugin(), the site-wide default plugin, not the one the user logged in with.

This PR: Adds WebformHelper::getAuthProviderPlugin() for resolving auth provider plugin from webform NemID settings (session_type) instead of always using the site-wide active plugin.

@jekuaitk
jekuaitk requested a review from cableman July 15, 2026 07:26
Comment thread src/EventSubscriber/OrganisationEventSubscriber.php
@jekuaitk
jekuaitk force-pushed the feature/correctly-resolve-used-provider-plugin branch from a1312e5 to 5005ea5 Compare July 15, 2026 08:30
@jekuaitk
jekuaitk merged commit 80c5f85 into main Jul 16, 2026
7 checks passed
@jekuaitk
jekuaitk deleted the feature/correctly-resolve-used-provider-plugin branch July 16, 2026 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants