We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fffe598 commit a6d08e1Copy full SHA for a6d08e1
lib/client.js
@@ -40,14 +40,6 @@ class Client {
40
}
41
42
getAuthorizationUri() {
43
- const strava_query = {
44
- client_id: this.config.client_id,
45
- redirect_uri: this.config.redirect_uri,
46
- response_type: RESPONSE_TYPE_CODE,
47
- approval_prompt: APPROVAL_PROMPT_AUTO,
48
- scope: this.config.scopes.reduce((prev, cur) => `${prev},${cur}`),
49
- };
50
-
51
const uri = new URL(this.config.authorization_uri);
52
uri.searchParams.append(CLIENT_ID, this.config.client_id);
53
uri.searchParams.append(REDIRECT_URI, this.config.redirect_uri);
0 commit comments