Skip to content

Commit c328d5d

Browse files
committed
apiSecret is not mandatory parameter in config (to use on client sides and other flows without need of the API secret)
1 parent 62959e6 commit c328d5d

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

changelog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[SNAPSHOT]
22
* add Google Async Exmaple (with bugfix for it to work)
33
* add OSGI manifest metadata
4+
* apiSecret is not mandatory parameter in config (to use on client sides and other flows without need of the API secret)
45

56
[2.4.0]
67
* APIs 2.0 can define different endpoints for access token and for refresh token (the same urls by default)

scribejava-core/src/main/java/com/github/scribejava/core/builder/AbstractServiceBuilder.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ public T debug() {
132132

133133
public void checkPreconditions() {
134134
Preconditions.checkEmptyString(apiKey, "You must provide an api key");
135-
Preconditions.checkEmptyString(apiSecret, "You must provide an api secret");
136135
}
137136

138137
public String getCallback() {

0 commit comments

Comments
 (0)