Closed (fixed)
Project:
SAML Authentication
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Apr 2020 at 04:10 UTC
Updated:
18 Mar 2021 at 22:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ndrake86 commentedPatch. Adds path validator check to the relaystate URL
Comment #4
roderikThanks. I see no downsides to this; committed. I'll keep this issue open, though, to remind myself to think of whether
Comment #6
roderikMy self-assigned to-dos are one. FYI:
"We should by default redirect to whatever is configured in settings" is solved by moving the /saml/acs route completely out of the event subscriber, and just handling it in the controller route. This already gives us the 'process RelayState' for free, and I never should have put it in the subscriber (in #2901757: /saml/login should not yield "access denied") so you wouldn't have had to override it there. But I didn't see that when reviewing this issue.
"We should display a message": done now. The message itself is temporary (because at the moment it doesn't know if you are the same or a different user logging in) and will be changed as part of #3155968: Validate existing session before redirecting to RelayState .
(And "what does core do" made for an interesting diversion, because one-time login links don't fully work in D8 - leading to opening #3188375: Fix direct-login links (referer header leakage / UX) when already logged in.)
Comment #7
roderik