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
Given a key/value pair preselectedExternalProvider: "YmFzZTY0IHN0cmluZyB2YWx1ZQ==" is passed into the extras scope of the AuthorizationRequest constructor
When the RedirectRequestHandler calls buildRequestUrl
Then the query parameter in the URL is &preselectedExternalProvider=YmFzZTY0IHN0cmluZyB2YWx1ZQ==
[REQUIRED] Describe expected behavior
I expect base64 strings to be passed as query parameters safely (without special character encoding)
Describe the problem
The == delimiter is being encoded in the authorization request URL created by buildRequestUrl within the performAuthorizationRequest call
[REQUIRED] Actual Behavior
Given a key/value pair preselectedExternalProvider: "YmFzZTY0IHN0cmluZyB2YWx1ZQ==" is passed into the extras scope of the AuthorizationRequest constructor
When the RedirectRequestHandler calls buildRequestUrl
Then the query parameter in the URL is &preselectedExternalProvider=YmFzZTY0IHN0cmluZyB2YWx1ZQ%3D%3D
[REQUIRED] Steps to reproduce the behavior
Construct the authorization request using the AuthorizationRequest constructor
a. add this key/value pair in the extras scope: preselectedExternalProvider: "YmFzZTY0IHN0cmluZyB2YWx1ZQ=="
Use this request and call performAuthorizationRequest
Check the preselectedExternalProvider query parameter's value in the network tab after being redirected
Expected Behavior
Given a key/value pair
preselectedExternalProvider: "YmFzZTY0IHN0cmluZyB2YWx1ZQ=="
is passed into theextras
scope of theAuthorizationRequest
constructorWhen the
RedirectRequestHandler
callsbuildRequestUrl
Then the query parameter in the URL is
&preselectedExternalProvider=YmFzZTY0IHN0cmluZyB2YWx1ZQ==
[REQUIRED] Describe expected behavior
I expect base64 strings to be passed as query parameters safely (without special character encoding)
Describe the problem
The
==
delimiter is being encoded in the authorization request URL created bybuildRequestUrl
within theperformAuthorizationRequest
call[REQUIRED] Actual Behavior
Given a key/value pair
preselectedExternalProvider: "YmFzZTY0IHN0cmluZyB2YWx1ZQ=="
is passed into theextras
scope of theAuthorizationRequest
constructorWhen the
RedirectRequestHandler
callsbuildRequestUrl
Then the query parameter in the URL is
&preselectedExternalProvider=YmFzZTY0IHN0cmluZyB2YWx1ZQ%3D%3D
[REQUIRED] Steps to reproduce the behavior
AuthorizationRequest
constructora. add this key/value pair in the
extras
scope:preselectedExternalProvider: "YmFzZTY0IHN0cmluZyB2YWx1ZQ=="
performAuthorizationRequest
preselectedExternalProvider
query parameter's value in the network tab after being redirected[REQUIRED] Environment
The text was updated successfully, but these errors were encountered: