-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Description
SAML login fails in Internet Explorer 11
As a side effect of 00302c8 not only the way the form is submitted changed (from body onload attribute to a script tag) but also the JavaScript language requirements changed due to the (unnecessary) usage of the array function syntax.
This statement could still be written in a way that all currently used browsers can execute it successfully.
As a mostly backend library, Spring Security imho should not have too high browser requirements (and there are still a lot of Enterprise web apps out there that require IE 11 - that's why Microsoft will support it as a mode in Edge until 2028 or so!).
To Reproduce
- Setup a system with SAML
- Log in with IE 11 (typically you will need MS Edge and configure the URL to be used in Internet Explorer compatibility mode)
- Login process will be stuck at attempting to submit form data to identity provider
Expected behavior
No JavaScript error should occur but the form should be submitted correctly to the
Sample
Setting up a test system with SAML should not be a problem for your team. ;)
Thanks a lot for checking this issue and helping us.
Stefan