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 aae46f2 commit 3f7653bCopy full SHA for 3f7653b
1 file changed
src/tower.ts
@@ -147,11 +147,7 @@ export class JetTower {
147
async introspectToken(
148
accessToken: string,
149
): Promise<TokenIntrospection> {
150
- if (!this.oauthClient) {
151
- throw new Error("No OAuth client found");
152
- }
153
-
154
- const { clientId, clientSecret } = this.oauthClient;
+ const { clientId, clientSecret } = await this.getOauthClient();
155
156
const url = await this.getOAuthApiEndpoint("/introspect");
157
0 commit comments