Skip to content

Commit d47f235

Browse files
committed
Merge pull request #327 from tur0kk/develop
fixed thingiverse login, switched to other app id
2 parents 26fd4b3 + 67de894 commit d47f235

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/com/tur0kk/thingiverse/ThingiverseClient.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ private String call(Verb verb, String url, String requestBody)
133133
{
134134
urlEnd = "/" + url;
135135
}
136-
OAuthRequest request = new OAuthRequest(verb, "http://api.thingiverse.com" + urlEnd);
136+
OAuthRequest request = new OAuthRequest(verb, "https://api.thingiverse.com" + urlEnd);
137137
request.addHeader("Authorization", "Bearer " + accesTokenString);
138138

139139
if (requestBody != null && !requestBody.isEmpty())

src/com/tur0kk/thingiverse/ThingiverseManager.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ public class ThingiverseManager
5454
* website. The owner of the current app "VisiCut Connect" is Patrick Schmidt
5555
5656
*/
57-
private static final String clientId = "0d3b8166624f6d05b738";
57+
private static final String clientId = "a91afd847a7c6f2dda2f";
5858

5959
/**
6060
* Thingiverse App Client Secret. The owner of the app "VisiCut Connect" can
6161
* see this on the thingiverse website.
6262
*/
63-
private static final String clientSecret = "a0b5368a3d58ddb3b1ade12f4f8f14e7";
63+
private static final String clientSecret = "00d763afa30cda6248fc203aa997eee2";
6464

6565
/**
6666
* After a successful login, thingiverse will redirect the user to this url.

0 commit comments

Comments
 (0)