Skip to content

Commit

Permalink
Merge pull request #53 from JustaName-id/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
Ghadi8 authored Oct 28, 2024
2 parents f65e617 + 5fb5b81 commit aaa43c5
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ export class TelegramSocialResolver extends AbstractSocialResolver<
getAuthUrl(authUrlRequest: GetAuthUrlRequest): string {
const state = this.encryptState(authUrlRequest);
return `<html>
<body>
<script async src="https://telegram.org/js/telegram-widget.js?15"
data-telegram-login="${this.environmentGetter.getTelegramBotUsername()}"
data-size="large"
data-auth-url="/auth/telegram/callback?state=${state}"
data-request-access="write">
</script>
</body>
</html>`;
<body>
<script async src="https://telegram.org/js/telegram-widget.js?15"
data-telegram-login="${this.environmentGetter.getTelegramBotUsername()}"
data-size="large"
data-auth-url="${this.environmentGetter.getApiDomain()}/credentials/socials/telegram/callback?state=${state}"
data-request-access="write">
</script>
</body>
</html>`;
}

async extractCredentialSubject(
Expand Down

0 comments on commit aaa43c5

Please sign in to comment.