{"id":22397215,"url":"https://github.com/robertodoering/twitter_webview_auth","last_synced_at":"2026-01-26T21:49:01.544Z","repository":{"id":56841526,"uuid":"457123446","full_name":"robertodoering/twitter_webview_auth","owner":"robertodoering","description":"Twitter oauth1 webview authentication implemention using webview_flutter","archived":false,"fork":false,"pushed_at":"2024-11-17T18:45:34.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-18T23:56:48.304Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robertodoering.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-02-08T22:22:18.000Z","updated_at":"2024-11-17T18:45:37.000Z","dependencies_parsed_at":"2025-07-31T12:32:18.546Z","dependency_job_id":"51797387-ae88-417e-9f8d-8379f2f71947","html_url":"https://github.com/robertodoering/twitter_webview_auth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/robertodoering/twitter_webview_auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertodoering%2Ftwitter_webview_auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertodoering%2Ftwitter_webview_auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertodoering%2Ftwitter_webview_auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertodoering%2Ftwitter_webview_auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robertodoering","download_url":"https://codeload.github.com/robertodoering/twitter_webview_auth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertodoering%2Ftwitter_webview_auth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28789050,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T21:13:08.818Z","status":"ssl_error","status_checked_at":"2026-01-26T21:13:08.448Z","response_time":59,"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":[],"created_at":"2024-12-05T06:11:53.765Z","updated_at":"2026-01-26T21:49:01.524Z","avatar_url":"https://github.com/robertodoering.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Twitter oauth1 webview authentication for Flutter\n\n[![pub](https://img.shields.io/pub/v/twitter_webview_auth)](https://pub.dev/packages/twitter_webview_auth)\n\nThis Flutter package implements the 3-legged oauth authentication flow using [webview_flutter](https://pub.dev/packages/webview_flutter).\n\n## Getting started\n\n- Get access to the [Twitter API](https://developer.twitter.com/en/docs/twitter-api/getting-started/getting-access-to-the-twitter-api) and create a 'Standalone App' in the [Twitter developer portal](https://developer.twitter.com/en/portal/projects-and-apps)\n- Enable `OAuth 1.0a` for your app\n- Enter a callback url. This can be any arbitrary url or just the scheme\n  - e.g. `app://`\n\n## Usage\n\n```dart\nfinal TwitterAuthResult result = await TwitterAuth(\n  consumerKey: 'your_consumer_key',\n  consumerSecret: 'your_consumer_secret',\n  callbackUrl: 'your_callback_url',\n).authenticateWithTwitter(\n  webviewNavigation: (Widget webview) =\u003e Navigator.of(context).push(\n    MaterialPageRoute(\n      builder: (_) =\u003e Scaffold(\n        appBar: AppBar(title: const Text('Login')),\n        body: webview,\n      ),\n    ),\n  ),\n);\n\nresult.when(\n  success: (String token, String secret, String userId) {\n    // user successfully authenticated\n  },\n  failure: (dynamic e, StackTrace? st) {\n    // authentication failed\n  },\n  cancelled: () {\n   // authentication has been cancelled by the user\n  },\n);\n```\n\n## Additional information\n\nFor making requests to the Twitter API, check out [dart_twitter_api](https://pub.dev/packages/dart_twitter_api)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertodoering%2Ftwitter_webview_auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobertodoering%2Ftwitter_webview_auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertodoering%2Ftwitter_webview_auth/lists"}