{"id":23291326,"url":"https://github.com/rtomas/telegram-oauth-w3a","last_synced_at":"2025-07-16T05:38:56.652Z","repository":{"id":227198639,"uuid":"769414883","full_name":"rtomas/telegram-oauth-w3a","owner":"rtomas","description":"Telegram OAuth Server for Web3Auth","archived":false,"fork":false,"pushed_at":"2024-03-12T03:38:55.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T17:52:12.771Z","etag":null,"topics":["oauth2","telegram","web3auth"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rtomas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-03-09T02:34:07.000Z","updated_at":"2024-03-12T03:40:03.000Z","dependencies_parsed_at":"2024-03-12T05:46:20.347Z","dependency_job_id":null,"html_url":"https://github.com/rtomas/telegram-oauth-w3a","commit_stats":null,"previous_names":["rtomas/telegram-oauth-w3a"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rtomas/telegram-oauth-w3a","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtomas%2Ftelegram-oauth-w3a","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtomas%2Ftelegram-oauth-w3a/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtomas%2Ftelegram-oauth-w3a/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtomas%2Ftelegram-oauth-w3a/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rtomas","download_url":"https://codeload.github.com/rtomas/telegram-oauth-w3a/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtomas%2Ftelegram-oauth-w3a/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265485151,"owners_count":23774438,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["oauth2","telegram","web3auth"],"created_at":"2024-12-20T05:16:36.267Z","updated_at":"2025-07-16T05:38:56.601Z","avatar_url":"https://github.com/rtomas.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Telegram OAuth Server for Web3Auth\n\nThis project is a demonstration of integrating Web3Auth with Telegram OAuth for authentication. Web3Auth is a decentralized authentication protocol that allows users to sign in to applications using their Ethereum wallets. In this demo, Telegram OAuth is used to authenticate users, and Web3Auth is employed to provide Ethereum private key access.\n\n## Getting Started\n\nFollow these steps to set up and run the project:\n\n1. Clone the repository:\n`git clone https://github.com/rtomas/telegram-oauth-w3a.git`\n\n2. Install dependencies:\n```\ncd web3auth-byoa/github-oauth-connection\nnpm install\n```\n\n3. Create a `.env` file in the project root and set the following variables:\n\n```env\nTELEGRAM_APP_TOKEN=\nTELEGRAM_APP_NAME=\nTELEGRAM_REDIRECT_URI=\nPRIVATE_KEY_FILE_NAME=privateKey.pem\nWEB3AUTH_VERIFIER_ID=w3a-telegram-oauth-demo #create a verifier at https://dashboard.web3auth.io\n```\n\n4. Run the application:\n\n   ```bash\n   npm start\n   ```\n\n5. Open your browser and navigate to `http://localhost:5005/telegram/login` to initiate the Telegram OAuth flow. (TODO: does not work on localhost, must use ngrok)\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtomas%2Ftelegram-oauth-w3a","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frtomas%2Ftelegram-oauth-w3a","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtomas%2Ftelegram-oauth-w3a/lists"}