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 2514e77 commit 0d0f2b3Copy full SHA for 0d0f2b3
src/models/authorizationServer.ts
@@ -47,7 +47,7 @@ export class AuthorizationServer {
47
convertedResult = "password";
48
break;
49
default:
50
- console.log(`Unsupported grant type ${item}`);
+ throw new Error(`Unsupported grant type "${item}".`);
51
}
52
if (convertedResult) {
53
result.push(convertedResult);
0 commit comments