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
For some web application which use a construct like "Bearer Tokens" Sahi removes the authorization header and so break the tests: The website will continuously logout and are not controllable.
Add a advice to Sakuli to skip the execution if removeHeader will be called with the value "Authorization"
Add the property sahi.proxy.removeAuthorizationHeader.enabled: is set to true like the default behavior of sahi (We don't know the impact on other applications)
Add a documentation page like "Know Sahi Issues"
The text was updated successfully, but these errors were encountered:
toschneck
changed the title
Suppress Sahi Proxy to remove Authorization Header (Bearer Token)
Disable Sahi proxy method which remove the authorization header (e.g. Bearer Token)
Feb 2, 2018
For some web application which use a construct like "Bearer Tokens" Sahi removes the authorization header and so break the tests: The website will continuously logout and are not controllable.
Example:
Like also discussed at Sahi Community - Authorization header getting stripped out this behavior is not wanted.
Solution:
Skip the execution of the action
HttpRequest.removeHeader("Authorization")
Tasks:
removeHeader
will be called with the value"Authorization"
sahi.proxy.removeAuthorizationHeader.enabled
: is set totrue
like the default behavior of sahi (We don't know the impact on other applications)The text was updated successfully, but these errors were encountered: