diff --git a/README.en-US.md b/README.en-US.md
index 255e828f9fff1691de08a37a96c745c8707e03b3..39ac774afcdce7998ee9e3f655e6c5eab9317e72 100644
--- a/README.en-US.md
+++ b/README.en-US.md
@@ -6,7 +6,7 @@
-
+
@@ -15,7 +15,7 @@
-
+
@@ -97,7 +97,7 @@ These artifacts are available from Maven Central:
me.zhyd.oauth
JustAuth
- 1.15.6
+ 1.15.7
```
- Using JustAuth
diff --git a/README.md b/README.md
index 8f5dfee3f64cbedc122f1d24713f247896f53de6..7182b97c381f2a8f1cd1fa208b4548dd3f42db20 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@
-
+
@@ -15,7 +15,7 @@
-
+
@@ -96,7 +96,7 @@ JustAuth,如你所见,它仅仅是一个**第三方授权登录**的**工具
me.zhyd.oauth
JustAuth
- 1.15.6
+ 1.15.7
```
- 调用api
diff --git a/bin/version.txt b/bin/version.txt
index 04cc99945d2e190b24fa4b13f840968c07eae23f..545fd574d35bc56aff646af7f139af4e25ec3e85 100644
--- a/bin/version.txt
+++ b/bin/version.txt
@@ -1 +1 @@
-1.15.6
+1.15.7
diff --git a/pom.xml b/pom.xml
index 394c566fe24a0792045cec49c6920e03e3e631ab..76a456025059e2acf852ee0ac9c4914b040b2dce 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
me.zhyd.oauth
JustAuth
- 1.15.6
+ 1.15.7
JustAuth
https://gitee.com/yadong.zhang/JustAuth
diff --git a/src/main/java/me/zhyd/oauth/request/AuthPinterestRequest.java b/src/main/java/me/zhyd/oauth/request/AuthPinterestRequest.java
index ff72d8c2c696fa2d0305627a3aa13845a5bad792..722e9f5c5255c61ea9c98862f87f8f137dd4719e 100644
--- a/src/main/java/me/zhyd/oauth/request/AuthPinterestRequest.java
+++ b/src/main/java/me/zhyd/oauth/request/AuthPinterestRequest.java
@@ -84,12 +84,8 @@ public class AuthPinterestRequest extends AuthDefaultRequest {
*/
@Override
public String authorize(String state) {
- return UrlBuilder.fromBaseUrl(source.authorize())
- .queryParam("response_type", "code")
- .queryParam("client_id", config.getClientId())
- .queryParam("redirect_uri", config.getRedirectUri())
+ return UrlBuilder.fromBaseUrl(super.authorize(state))
.queryParam("scope", this.getScopes(",", false, AuthPinterestScope.getDefaultScopes()))
- .queryParam("state", getRealState(state))
.build();
}