mirror of
https://github.com/danieldemus/openhab-addons
synced 2026-07-31 05:24:24 +02:00
Possible fix for passwords with special characters (#19102)
Signed-off-by: Paul Smedley <paul@smedley.id.au>
This commit is contained in:
+1
-1
@@ -191,7 +191,7 @@ public class RestClient {
|
||||
public Tokens getTokens(String username, String password, String refreshToken, String twofactorCode,
|
||||
String hardwareId) throws AuthenticationException, JsonParseException {
|
||||
Map<String, String> additionalHeaders = new HashMap<>();
|
||||
ParamBuilder pb = new ParamBuilder(false);
|
||||
ParamBuilder pb = new ParamBuilder(true);
|
||||
pb.add("client_id", "ring_official_android");
|
||||
pb.add("scope", "client");
|
||||
if (refreshToken.isBlank()) {
|
||||
|
||||
Reference in New Issue
Block a user