You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would allow setting multiple headers using a single request, e.g. login_extra_fields: login_ticket;_csrf=@=xpath('//input[@id="login_ticket_login-form" or @id="_csrf_login-form"]/@value', request_html('https://id.sueddeutsche.de/login'))
A potential downside of this approach is that it assumes the order of the nodes in question to be fixed.
Alternatively one could include the field names in the XPath expression and parse its output. This would solve the order problem without complicating the logic too much.
I am suggesting to solve j0k3r/graby#271 by
guzzle-site-authenticator/lib/ExpressionLanguage/AuthenticatorProvider.php
Lines 71 to 96 in b5f1ebd
guzzle-site-authenticator/lib/Authenticator/LoginFormAuthenticator.php
Line 105 in b5f1ebd
Do you have any comments or objections to this approach?
The text was updated successfully, but these errors were encountered: