You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`client_id`| WakaTime Application Identifier (formatted as an Universal Unique Identifier). | Mandatory ||
172
+
|`client_secret`| WakaTime Application Secret (formatted as waka_sec_ followed by an Universal Unique Identifier). | Mandatory ||
173
+
|`scope`| Scope parameter sent in query. Can also be a list of scopes. | Mandatory ||
174
+
|`response_type`| Value of the response_type query parameter if not already provided in authorization URL. | Optional | token |
175
+
|`token_field_name`| Field name containing the token. | Optional | access_token |
176
+
|`early_expiry`| Number of seconds before actual token expiry where token will be considered as expired. Used to ensure token will not expire between the time of retrieval and the time the request reaches the actual server. Set it to 0 to deactivate this feature and use the same token until actual expiry. | Optional | 30.0 |
177
+
|`nonce`| Refer to [OpenID ID Token specifications][3] for more details. | Optional | Newly generated Universal Unique Identifier. |
178
+
|`redirect_uri_endpoint`| Custom endpoint that will be used as redirect_uri the following way: http://localhost:<redirect_uri_port>/<redirect_uri_endpoint>. | Optional | '' |
179
+
|`redirect_uri_port`| The port on which the server listening for the OAuth 2 token will be started. | Optional | 5000 |
180
+
|`timeout`| Maximum amount of seconds to wait for a token to be received once requested. | Optional | 60 |
181
+
|`success_display_time`| In case a token is successfully received, this is the maximum amount of milliseconds the success page will be displayed in your browser. | Optional | 1 |
182
+
|`failure_display_time`| In case received token is not valid, this is the maximum amount of milliseconds the failure page will be displayed in your browser. | Optional | 5000 |
183
+
|`header_name`| Name of the header field used to send token. | Optional | Authorization |
184
+
|`header_value`| Format used to send the token value. "{token}" must be present as it will be replaced by the actual token. | Optional | Bearer {token} |
185
+
|`client`|`httpx.Client` instance that will be used to request the token. Use it to provide a custom proxying rule for instance. | Optional ||
186
+
187
+
Any other parameter will be put as query parameter in the authorization URL.
188
+
150
189
### Authorization Code Flow with Proof Key for Code Exchange
151
190
152
191
Proof Key for Code Exchange is implemented following [rfc7636](https://tools.ietf.org/html/rfc7636).
0 commit comments