{"id":32983186,"url":"https://github.com/vchaptsev/vue-telegram-login","last_synced_at":"2026-01-16T15:27:22.470Z","repository":{"id":44102544,"uuid":"122765582","full_name":"vchaptsev/vue-telegram-login","owner":"vchaptsev","description":"Vue component for Telegram login","archived":false,"fork":false,"pushed_at":"2019-03-15T14:04:33.000Z","size":14,"stargazers_count":88,"open_issues_count":7,"forks_count":19,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-11T01:29:08.369Z","etag":null,"topics":["telegram","telegram-login","vue","vue-component"],"latest_commit_sha":null,"homepage":null,"language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vchaptsev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-24T18:04:05.000Z","updated_at":"2025-05-29T09:49:57.000Z","dependencies_parsed_at":"2022-09-19T04:42:54.954Z","dependency_job_id":null,"html_url":"https://github.com/vchaptsev/vue-telegram-login","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/vchaptsev/vue-telegram-login","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vchaptsev%2Fvue-telegram-login","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vchaptsev%2Fvue-telegram-login/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vchaptsev%2Fvue-telegram-login/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vchaptsev%2Fvue-telegram-login/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vchaptsev","download_url":"https://codeload.github.com/vchaptsev/vue-telegram-login/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vchaptsev%2Fvue-telegram-login/sbom","scorecard":{"id":917349,"data":{"date":"2025-08-11","repo":{"name":"github.com/vchaptsev/vue-telegram-login","commit":"6be5771a449945338d6eb457ec2f2289fe3bbe14"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/22 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-24T21:31:35.639Z","repository_id":44102544,"created_at":"2025-08-24T21:31:35.641Z","updated_at":"2025-08-24T21:31:35.641Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479409,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["telegram","telegram-login","vue","vue-component"],"created_at":"2025-11-13T07:00:32.999Z","updated_at":"2026-01-16T15:27:22.461Z","avatar_url":"https://github.com/vchaptsev.png","language":"Vue","funding_links":[],"categories":["积分","Components \u0026 Libraries","Integrations","Integrations [🔝](#readme)"],"sub_categories":["付款","Integrations","Payment"],"readme":"\u003ch1\u003eVue Telegram Login\u003c/h1\u003e\n\u003cp\u003e\n    \u003cimg src=\"https://i.imgur.com/ex5hnL3.png\" /\u003e\n    \u003cbr\u003e\n    \u003cbr\u003e\n    \u003ca href=\"https://badge.fury.io/js/vue-telegram-login\"\u003e\n        \u003cimg src=\"https://badge.fury.io/js/vue-telegram-login.svg\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://www.npmjs.com/package/vue-telegram-login\"\u003e\n        \u003cimg src=\"https://img.shields.io/npm/dm/vue-telegram-login.svg\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://travis-ci.org/vchaptsev/vue-telegram-login\"\u003e\n        \u003cimg src=\"https://travis-ci.org/vchaptsev/vue-telegram-login.svg?branch=master\" /\u003e\n    \u003c/a\u003e\u003cbr\u003e\n\u003c/p\u003e\n\n**vue-telegram-login** is a Vue component for [Telegram Login](https://core.telegram.org/widgets/login)\n\n\n## Installation\n\nInstall with [yarn](https://yarnpkg.com):\n\n  ```bash\n  $ yarn add vue-telegram-login\n  ```\n\nInstall with [npm](https://npmjs.com):\n\n  ```bash\n  $ npm i vue-telegram-login --save\n  ```\n\nor if you just want to try it out, [unpkg](https://unpkg.com/#/) has ready-to-use packages.\n\n```html\n\u003cscript src=\"https://unpkg.com/vue\"\u003e\u003c/script\u003e\n\u003cscript src=\"https://unpkg.com/vue-telegram-login\"\u003e\u003c/script\u003e\n```\n## Usage\n\nImport `vue-telegram-login`, pass it to the `components` and use in your template\n\n```html\n\u003ctemplate\u003e\n  \n  \u003c!-- Callback mode --\u003e\n  \u003cvue-telegram-login \n    mode=\"callback\"\n    telegram-login=\"YourTelegramBot\"\n    @callback=\"yourCallbackFunction\" /\u003e\n  \n  \u003c!-- Redirect mode --\u003e\n  \u003cvue-telegram-login \n    mode=\"redirect\"\n    telegram-login=\"YourTelegramBot\"\n    redirect-url=\"https://your-website.io\" /\u003e\n\n\u003c/template\u003e\n\n\u003cscript\u003e\nimport {vueTelegramLogin} from 'vue-telegram-login'\n\nexport default {\n  name: 'your-component',\n  components: {vueTelegramLogin},\n  methods: {\n    yourCallbackFunction (user) {\n      // gets user as an input\n      // id, first_name, last_name, username,\n      // photo_url, auth_date and hash\n      console.log(user)\n    }\n  }\n}\n\u003c/script\u003e\n```\n\n\n## Props\nYou can play around with options on the official [widget page](https://core.telegram.org/widgets/login#widget-configuration)\n\n| Name          | Description                                                                   | Required | Default     |\n| ------------- | ----------------------------------------------------------------------------- | -------- | ----------- |\n| mode          | 'callback' or 'redirect'                                                      | True     | null        |\n| telegramLogin | Your telegram bot name                                                        | True     | null        |\n| @callback     | Your callback function, it will be called after success if mode is 'callback' | False    | true        |\n| redirectUrl   | Your redirect URL, user will be redirected if mode is 'redirect'              | False    | null        |\n| requestAccess | 'write' if you want to get access to send messages from your bot              | False    | 'read'      |\n| size          | 'large', 'medium' or 'small'                                                  | False    | 'large'     |\n| userpic       | Show user photo, true or false                                                | False    | true        |\n| radius        | Button corner radius (default depends on chosen size)                         | False    | 20\\14\\10    |\n\n\n## Notes\n1. You need to set domain to your bot if you want to user Telagram Login (`/setdomain` command to [@BotFather](https://t.me/botfather))\n2. You need to verify the authentication and the integrity of the data received by comparing the received hash parameter with the hexadecimal representation of the HMAC-SHA-256 signature of the data-check-string with the SHA256 hash of the bot's token used as a secret key ([source](https://core.telegram.org/widgets/login#checking-authorization)).\u003cbr\u003e\nYou can find some code samples [on this page](https://gist.github.com/anonymous/6516521b1fb3b464534fbc30ea3573c2).\n3. Don't disable third party cookies if you want to use Telegram Login as a User (thanks [@robverhoef](https://github.com/robverhoef))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvchaptsev%2Fvue-telegram-login","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvchaptsev%2Fvue-telegram-login","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvchaptsev%2Fvue-telegram-login/lists"}