소스 검색

read clientId from vault config

Sebastian Stenzel 3 년 전
부모
커밋
9f7442c1c0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 //