Vue Telegram Passport

vue-telegram-passport is a Vue component for Telegram Passport


Install with npm:

$ npm i vue-telegram-passport

Install with yarn:

$ yarn add vue-telegram-passport

or if you just want to try it out, unpkg has ready-to-use packages.

<script src=""></script>
<script src=""></script>


Import vue-telegram-passport, pass it to the components and use in your template

      bot_id: 123456789,
      scope: ['id_document', 'address_document', 'phone_number', 'email'],
      public_key: 'Your public key',
      nonce: 'Bot-specified payload',

import {vueTelegramPassport} from 'vue-telegram-passport'

export default {
  components: {vueTelegramPassport},


You can play around with options on the official passport page

Name Description Required Default
authParameters docs True null
authButtonOptions docs False {}