{"id":20852652,"url":"https://github.com/epic-r-r/fastapi-jwt-authentication","last_synced_at":"2025-12-26T23:02:37.359Z","repository":{"id":226362498,"uuid":"768480197","full_name":"Epic-R-R/fastapi-jwt-authentication","owner":"Epic-R-R","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-07T07:02:48.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-19T06:26:28.915Z","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":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Epic-R-R.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-07T06:52:11.000Z","updated_at":"2024-03-07T07:03:04.000Z","dependencies_parsed_at":"2024-03-07T07:50:06.024Z","dependency_job_id":null,"html_url":"https://github.com/Epic-R-R/fastapi-jwt-authentication","commit_stats":null,"previous_names":["epic-r-r/fastapi-jwt"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Epic-R-R%2Ffastapi-jwt-authentication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Epic-R-R%2Ffastapi-jwt-authentication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Epic-R-R%2Ffastapi-jwt-authentication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Epic-R-R%2Ffastapi-jwt-authentication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Epic-R-R","download_url":"https://codeload.github.com/Epic-R-R/fastapi-jwt-authentication/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243222186,"owners_count":20256229,"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":"2024-11-18T03:18:26.934Z","updated_at":"2025-12-26T23:02:32.320Z","avatar_url":"https://github.com/Epic-R-R.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FastAPI JWT Authentication\n\n## Overview\n\nThis project showcases a secure authentication implementation using FastAPI, OAuth2, and JWT (JSON Web Tokens). The tutorial covers token generation, user validation, and integration with OAuth2 for password bearer authentication.\n\n## Features\n\n- **Token Generation:** Create secure access tokens for user authentication.\n- **User Validation:** Implement methods to validate user credentials for secure access.\n- **OAuth2 Integration:** Utilize OAuth2 for password bearer authentication in FastAPI.\n- **JWT Encoding:** Explore JWT for encoding and decoding tokens with a custom secret key and algorithm.\n- **Password Hashing:** Enhance security with bcrypt password hashing.\n- **Dependency Injection:** Seamless integration of authentication checks using FastAPI's dependency injection.\n\n## Getting Started\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/Epic-R-R/fastapi-jwt-authentication.git\n   cd fastapi-jwt-authentication\n   ```\n2. Install dependencies:\n\n   ```bash\n   pip install -r requirements.txt\n   ```\n1. Run the FastAPI application:\n\n   ```bash\n   hypercorn main:app --worker-class trio\n   ```\n\nAccess the API documentation at ```http://127.0.0.1:8000/docs``` and explore the implemented endpoints.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepic-r-r%2Ffastapi-jwt-authentication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fepic-r-r%2Ffastapi-jwt-authentication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepic-r-r%2Ffastapi-jwt-authentication/lists"}