From 272d1ac8a0d60ff00f05f266a9f833b9114ab605 Mon Sep 17 00:00:00 2001
From: "yadong.zhang"
Date: Sat, 4 Jul 2020 13:47:22 +0800
Subject: [PATCH] =?UTF-8?q?:bookmark:=20=E5=8D=87=E7=BA=A7=E7=89=88?=
=?UTF-8?q?=E6=9C=AC=E5=88=B01.15.7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
README.en-US.md | 6 +++---
README.md | 6 +++---
bin/version.txt | 2 +-
pom.xml | 2 +-
.../java/me/zhyd/oauth/request/AuthPinterestRequest.java | 6 +-----
5 files changed, 9 insertions(+), 13 deletions(-)
diff --git a/README.en-US.md b/README.en-US.md
index 255e828..39ac774 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 8f5dfee..7182b97 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 04cc999..545fd57 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 394c566..76a4560 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 ff72d8c..722e9f5 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();
}
--
GitLab