sessionConfiguration = new SessionConfiguration.Builder() .setClientId(ClientID) .setServerToken(ServerToken) .setRedirectUri("https://www.policyplan.in/UberCab/uber_redirectUri.php?code=AUTHORIZATION_CODE") .setEnvironment(SessionConfiguration.Environment.SANDBOX) .setScopes(Arrays.asList(Scope.RIDE_WIDGETS)) .build();
Please try to post clear and well-formed questions - in this case, looks like you have a problem with redirect URL. If you read Uber documentation - redirect URL needs to match URL you have specified at your application dashboard. So remove ?code=AUTHORIZATION_CODE and use redirect URL as per your application setup.