{"id":29661792,"url":"https://github.com/everysoftware/fastlink","last_synced_at":"2026-04-30T10:35:43.915Z","repository":{"id":275789310,"uuid":"922888605","full_name":"everysoftware/fastlink","owner":"everysoftware","description":"FastLink OAuth 2.0 client for various platforms, asynchronous, easy-to-use, extensible","archived":false,"fork":false,"pushed_at":"2025-05-23T22:24:44.000Z","size":716,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-02T13:04:03.298Z","etag":null,"topics":["fastapi","httpx","oauth2"],"latest_commit_sha":null,"homepage":"","language":"Python","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/everysoftware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"custom":"https://boosty.to/everysoftware"}},"created_at":"2025-01-27T09:15:35.000Z","updated_at":"2025-05-23T22:24:47.000Z","dependencies_parsed_at":"2025-04-02T02:41:58.698Z","dependency_job_id":"ce84f7d0-d0e3-407a-90ac-cc0eddfbc4ff","html_url":"https://github.com/everysoftware/fastlink","commit_stats":null,"previous_names":["everysoftware/auth365","everysoftware/fastlink"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/everysoftware/fastlink","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/everysoftware%2Ffastlink","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/everysoftware%2Ffastlink/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/everysoftware%2Ffastlink/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/everysoftware%2Ffastlink/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/everysoftware","download_url":"https://codeload.github.com/everysoftware/fastlink/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/everysoftware%2Ffastlink/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266473221,"owners_count":23934481,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":["fastapi","httpx","oauth2"],"created_at":"2025-07-22T10:09:09.731Z","updated_at":"2026-04-30T10:35:43.868Z","avatar_url":"https://github.com/everysoftware.png","language":"Python","funding_links":["https://boosty.to/everysoftware"],"categories":[],"sub_categories":[],"readme":"# FastLink\n\n_OAuth 2.0 client for various platforms, asynchronous, easy-to-use, extensible_\n\n---\n\n[![Test](https://github.com/everysoftware/fastlink/actions/workflows/test.yml/badge.svg)](https://github.com/everysoftware/fastlink/actions/workflows/test.yml)\n[![CodeQL Advanced](https://github.com/everysoftware/fastlink/actions/workflows/codeql.yml/badge.svg)](https://github.com/everysoftware/fastlink/actions/workflows/codeql.yml)\n\n---\n\n## Features\n\n- **All-in-one**: Supports popular platforms like **Google**, **Yandex**, **Telegram**, etc.\n- **Asynchronous**: Built on top of `httpx` is fully asynchronous.\n- **Easy-to-use**: Simple and intuitive API for quick integration.\n- **Extensible**: Easily add support for new platforms or customize existing ones.\n\n## Installation\n\n```bash\npip install fastlink\n```\n\n## Get Started\n\n```python\nfrom typing import Annotated, Any\n\nfrom fastapi import Depends, FastAPI\nfrom fastapi.responses import RedirectResponse\n\nfrom examples.config import settings\nfrom fastlink import GoogleSSO\nfrom fastlink.schemas import OAuth2Callback, OpenID\n\napp = FastAPI()\n\nsso = GoogleSSO(\n    settings.google_client_id,\n    settings.google_client_secret,\n    \"http://localhost:8000/callback\",\n)\n\n\n@app.get(\"/login\")\nasync def login() -\u003e RedirectResponse:\n    async with sso:\n        url = await sso.login_url()\n        return RedirectResponse(url=url)\n\n\n@app.get(\"/callback\")\nasync def callback(call: Annotated[OAuth2Callback, Depends()]) -\u003e OpenID:\n    async with sso:\n        return await sso.callback(call)\n```\n\nNow you can run the server and visit `http://localhost:8000/login` to start the OAuth 2.0 flow.\n\n![screenshot-1738081195921.png](assets/screenshot-1738081195921.png)\n\nAfter logging into Google, you will be redirected to the callback URL. The server will then fetch the user's OpenID\ninformation and return it as a response.\n![screenshot-1738081352079.png](assets/screenshot-1738081352079.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feverysoftware%2Ffastlink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feverysoftware%2Ffastlink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feverysoftware%2Ffastlink/lists"}