|
@@ -36,8 +36,8 @@ public class OauthService {
|
|
.execute()
|
|
.execute()
|
|
.returnContent()
|
|
.returnContent()
|
|
.asString(StandardCharsets.UTF_8);
|
|
.asString(StandardCharsets.UTF_8);
|
|
- String url = objectMapper.readTree(body).get("data").get("auth_url").asText();
|
|
|
|
- return "redirect:" + url;
|
|
|
|
|
|
+
|
|
|
|
+ return objectMapper.readTree(body).get("data").get("auth_url").asText();
|
|
}
|
|
}
|
|
|
|
|
|
@SneakyThrows
|
|
@SneakyThrows
|