{"id":49601536,"url":"https://github.com/scalekit-developers/scalekit-fastapi-example","last_synced_at":"2026-05-04T09:35:56.429Z","repository":{"id":301337682,"uuid":"805780954","full_name":"scalekit-developers/scalekit-fastapi-example","owner":"scalekit-developers","description":"FastAPI SSO example - Python async authentication with modern API patterns","archived":false,"fork":false,"pushed_at":"2025-09-04T12:42:10.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-04T14:38:45.452Z","etag":null,"topics":["api","async","authentication","demo","fastapi","pydantic","python","sso"],"latest_commit_sha":null,"homepage":"https://docs.scalekit.com/sso/quickstart?tech-stack=py","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/scalekit-developers.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-05-25T12:44:51.000Z","updated_at":"2025-09-04T14:01:09.000Z","dependencies_parsed_at":"2025-09-04T14:38:47.100Z","dependency_job_id":"8c224990-97e0-46e9-ad76-2128c18a4a87","html_url":"https://github.com/scalekit-developers/scalekit-fastapi-example","commit_stats":null,"previous_names":["scalekit-inc/scalekit-fastapi-example","scalekit-developers/scalekit-fastapi-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/scalekit-developers/scalekit-fastapi-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scalekit-developers%2Fscalekit-fastapi-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scalekit-developers%2Fscalekit-fastapi-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scalekit-developers%2Fscalekit-fastapi-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scalekit-developers%2Fscalekit-fastapi-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scalekit-developers","download_url":"https://codeload.github.com/scalekit-developers/scalekit-fastapi-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scalekit-developers%2Fscalekit-fastapi-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32601711,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"online","status_checked_at":"2026-05-04T02:00:06.625Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["api","async","authentication","demo","fastapi","pydantic","python","sso"],"created_at":"2026-05-04T09:35:55.881Z","updated_at":"2026-05-04T09:35:56.424Z","avatar_url":"https://github.com/scalekit-developers.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://scalekit.com\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n    \u003cpicture\u003e\n      \u003cimg src=\"https://cdn.scalekit.cloud/v1/scalekit-logo-dark.svg\" height=\"64\"\u003e\n    \u003c/picture\u003e\n  \u003c/a\u003e\n  \u003cbr/\u003e\n\u003c/p\u003e\n\u003ch1 align=\"center\"\u003e\n  Scalekit FastAPI Example App\n\u003c/h1\u003e\n\n[![FastAPI](https://img.shields.io/badge/FastAPI-0.68+-green?style=flat-square\u0026logo=fastapi)](https://fastapi.tiangolo.com/)\n[![Python](https://img.shields.io/badge/Python-3.8+-blue?style=flat-square\u0026logo=python)](https://www.python.org/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n\u003ch4 align=\"center\"\u003e\nScalekit is the \u003cstrong\u003eauth stack for AI apps\u003c/strong\u003e - from human authentication to agent authorization.\n\nThis FastAPI example demonstrates how to implement enterprise authentication flows using Scalekit's Python SDK with modern async web framework patterns.\n\u003c/h4\u003e\n\n## 🚀 What This Demo Shows\n\n- **Enterprise SSO Integration**: SAML/OIDC authentication flows using Scalekit\n- **FastAPI Performance**: High-performance async Python web framework\n- **Session Management**: Secure user authentication and cookies\n- **OAuth 2.0 Flows**: Authorization code flow with callback handling\n- **User Profile Management**: Authenticated user data access\n- **Clean API Design**: RESTful endpoints for authentication workflows\n\n## Getting Started\n\n1. [Sign up](https://scalekit.com) for a Scalekit account.\n2. Get your ```env_url```, ```client_id``` and ```client_secret``` from the Scalekit dashboard.\n\n## How to Run\n```sh\n# Add ReactJS submodule for frontend elements \ngit clone --recursive https://github.com/scalekit-developers/shared-ui-for-examples.git\n```\n\n```sh\n# Install scalekit-fastapi-example dependencies from requirements file using below cmd \npip install -r requirements\n```\n\n```sh\n# Run following command to create .env file\nadd cp .env.example .env\n```\n\n```sh\n# Update .env file with env_url, client_id and client_secret fetched from the Scalekit dashboard as below\nSCALEKIT_ENV_URL = env_url\nSCALEKIT_CLIENT_ID = client_id\nSCALEKIT_CLIENT_SECRET = client_secret\n```\n\n```sh\n# Run the development server:\npython3 main.py\n```\n\n```sh\nOpen http://localhost:8080 with your preferred browser\n```\n\n## API Reference\nSee the [Scalekit API docs](https://docs.scalekit.com) for more information about the API and authentication.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscalekit-developers%2Fscalekit-fastapi-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscalekit-developers%2Fscalekit-fastapi-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscalekit-developers%2Fscalekit-fastapi-example/lists"}