Browse Source

read clientId from vault config

Sebastian Stenzel 3 years ago
parent
commit
9f7442c1c0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/org/cryptomator/ui/keyloading/hub/AuthFlow.java

+ 1 - 1
src/main/java/org/cryptomator/ui/keyloading/hub/AuthFlow.java

@@ -107,7 +107,7 @@ class AuthFlow implements AutoCloseable {
 
 	private String token(PKCE pkce, String authCode) throws IOException, InterruptedException {
 		var params = Map.of("grant_type", "authorization_code", //
-				"client_id", "cryptomator-hub", // TODO
+				"client_id", clientId, //
 				"redirect_uri", receiver.getRedirectUri(), //
 				"code", authCode, //
 				"code_verifier", pkce.verifier //