arctic
Advanced tools
Comparing version 1.8.0 to 1.8.1
@@ -33,3 +33,4 @@ import { OAuth2Client } from "oslo/oauth2"; | ||
codeVerifier, | ||
credentials: this.clientSecret | ||
credentials: this.clientSecret, | ||
authenticateWith: "request_body" | ||
}); | ||
@@ -48,2 +49,3 @@ const tokens = { | ||
credentials: this.clientSecret, | ||
authenticateWith: "request_body", | ||
scopes: options?.scopes ?? [] | ||
@@ -50,0 +52,0 @@ }); |
@@ -22,3 +22,4 @@ import { OAuth2Client } from "oslo/oauth2"; | ||
const result = await this.client.validateAuthorizationCode(code, { | ||
credentials: this.clientSecret | ||
credentials: this.clientSecret, | ||
authenticateWith: "request_body" | ||
}); | ||
@@ -25,0 +26,0 @@ const tokens = { |
{ | ||
"name": "arctic", | ||
"type": "module", | ||
"version": "1.8.0", | ||
"version": "1.8.1", | ||
"description": "OAuth 2.0 clients for popular providers", | ||
@@ -6,0 +6,0 @@ "main": "dist/index.js", |
109809
2837