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 5d63fd0 commit 6a28d06Copy full SHA for 6a28d06
src/plugins/auth/OAuth/validate-options.ts
@@ -7,4 +7,8 @@ export function validateOptions(auth: AuthOptions): void {
7
) {
8
throw new Error(`Specify client id and client secret for authentication`)
9
}
10
+
11
+ if (!auth.grant_type) {
12
+ throw new Error(`Specify grant type`)
13
+ }
14
0 commit comments