Skip to content

Commit 849a4d4

Browse files
committed
chore: add stub redirect uri in authorization
1 parent 463aad2 commit 849a4d4

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

packages/authorization/src/providers/account-verification.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,8 @@ export class AccountVerification {
365365
const { key, validate } = await this.options.callbackService.processingCaptcha({
366366
type: CaptchaType.ACCOUNT_VERIFICATION,
367367
sid: fields.captcha_sid,
368+
// TODO: Handle redirect uri
369+
redirectUri: '',
368370
src,
369371
});
370372

packages/authorization/src/providers/direct.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,8 @@ export class DirectAuthorization {
353353
type: CaptchaType.DIRECT_AUTH,
354354
sid,
355355
src,
356+
// TODO: Handle redirect uri
357+
redirectUri: '',
356358
});
357359

358360
this.captchaValidate = validate;

packages/authorization/src/providers/implicit-flow.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,8 @@ export abstract class ImplicitFlow {
350350
type: CaptchaType.IMPLICIT_FLOW_AUTH,
351351
sid: fields.captcha_sid,
352352
src,
353+
// TODO: Handle redirect uri
354+
redirectUri: '',
353355
});
354356

355357
this.captchaValidate = validate;
@@ -440,6 +442,8 @@ export abstract class ImplicitFlow {
440442
type: CaptchaType.IMPLICIT_FLOW_AUTH,
441443
sid: fields.captcha_sid,
442444
src: `https://api.vk.ru/${src}`,
445+
// TODO: Handle redirect uri
446+
redirectUri: '',
443447
});
444448

445449
this.captchaValidate = captchaValidate;

0 commit comments

Comments
 (0)