File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ Released TBD
2929* Fix override over errorURL
3030* Introduced a new assets.salt to allow cache busting without leaking version information (#2490 )
3131* If session.check_function is set and can not be called an error is raised (#2498 )
32+ * Add 'login_hint' and 'LoginHint' as additional supported username hints from SPs in HTTP parameters (#2609 )
3233
3334` authorize `
3435
Original file line number Diff line number Diff line change @@ -399,6 +399,10 @@ public static function receiveAuthnRequest(IdP $idp): void
399399
400400 if (isset ($ _REQUEST ['username ' ])) {
401401 $ username = (string ) $ _REQUEST ['username ' ];
402+ } elseif (isset ($ _REQUEST ['login_hint ' ])) {
403+ $ username = (string ) $ _REQUEST ['login_hint ' ];
404+ } elseif (isset ($ _REQUEST ['LoginHint ' ])) {
405+ $ username = (string ) $ _REQUEST ['LoginHint ' ];
402406 }
403407
404408 $ issuer = $ request ->getIssuer ();
You can’t perform that action at this time.
0 commit comments