{"id":25640522,"url":"https://github.com/kstrauser/pythonoauthcallback","last_synced_at":"2025-09-25T10:30:15.996Z","repository":{"id":10195640,"uuid":"12286759","full_name":"kstrauser/PythonOAuthCallback","owner":"kstrauser","description":"A local webserver for answering OAuth callbacks on localhost","archived":false,"fork":false,"pushed_at":"2013-08-23T05:21:02.000Z","size":128,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-12T03:25:09.355Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"ultimateboy/slack8s","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kstrauser.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":"2013-08-22T02:42:38.000Z","updated_at":"2018-05-10T15:14:33.000Z","dependencies_parsed_at":"2022-09-15T17:13:49.383Z","dependency_job_id":null,"html_url":"https://github.com/kstrauser/PythonOAuthCallback","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kstrauser/PythonOAuthCallback","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kstrauser%2FPythonOAuthCallback","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kstrauser%2FPythonOAuthCallback/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kstrauser%2FPythonOAuthCallback/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kstrauser%2FPythonOAuthCallback/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kstrauser","download_url":"https://codeload.github.com/kstrauser/PythonOAuthCallback/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kstrauser%2FPythonOAuthCallback/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259418180,"owners_count":22854184,"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":[],"created_at":"2025-02-23T04:40:07.174Z","updated_at":"2025-09-25T10:30:15.895Z","avatar_url":"https://github.com/kstrauser.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Python OAuth Callback\n=====================\n\n*A local webserver for answering OAuth callbacks*\n\nOAuth is an increasingly popular system for authenticating client software to\nInternet services, but it often requires coordination with a webserver hosted\nby the client's developer. When the client software is an Open Source project\nrunning on a user's computer and without any external supporting\ninfrastructure, this can present a difficult obstacle.\n\nThis package provides a standard framework for writing OAuth callback handlers\nand running them on a local webserver temporarily set up for just that\npurpose.\n\n## Example\n\nAuthenticating to an App.net server:\n\n    \u003e\u003e\u003e from oauthcallback.appdotnet import AppDotNetHandler\n    \u003e\u003e\u003e token_info = AppDotNetHandler.fetch_access_token(\n    ...     client_id='XJtBFQwBesZHYE4TGcFwzvfq6D6a7NCa',\n    ...     scope='stream,public_messages')\n    \u003e\u003e\u003e token_info['access_token']\n    'BigLongAlphanumericString'\n\nYou now have a token for accessing the user's account resources.\n\n## Writing your own handler\n\nSubclass `CallbackHandler` method's:\n\n* `auth_url` returns the URL that the user's web browser will initially open\n  with.\n\n* `do_Get` analyzes the callback request to parse out the access token or\n  other relevant data. Call `self.finish_with_result` to stop the web server\n  and return the results to the client program.\n\n## License\n\nPython OAuth Callback is available under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkstrauser%2Fpythonoauthcallback","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkstrauser%2Fpythonoauthcallback","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkstrauser%2Fpythonoauthcallback/lists"}