Skip to content
This repository has been archived by the owner on Jun 30, 2023. It is now read-only.

Commit

Permalink
Fix for silent broker flow on android (#1688)
Browse files Browse the repository at this point in the history
* Fixed bug where we were sending the wrong value to the broker during requests.

* Disabling failing test temporarily

* Revert "Disabling failing test temporarily"

This reverts commit 341dad5.
  • Loading branch information
trwalke authored Jan 15, 2020
1 parent e76a187 commit 7879e4e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ private Bundle GetBrokerOptions(AuthenticationRequest request)
request.ExtraQueryParamsAuthentication);

brokerOptions.PutString(BrokerConstants.CallerInfoPackage, Application.Context.PackageName);
brokerOptions.PutInt(BrokerConstants.CallerInfoUID, Android.OS.Process.MyPid());
brokerOptions.PutInt(BrokerConstants.CallerInfoUID, Android.OS.Process.MyUid());

if (request.Claims != null)
{
Expand Down

0 comments on commit 7879e4e

Please sign in to comment.