{"id":19766780,"url":"https://github.com/kiselyovda/fastapi-jwt-oauth","last_synced_at":"2026-04-11T09:03:21.124Z","repository":{"id":230188984,"uuid":"775517019","full_name":"kiselyovda/fastapi-jwt-oauth","owner":"kiselyovda","description":"Short project to understand OAuth JWT authentication with FastAPI","archived":false,"fork":false,"pushed_at":"2024-03-28T09:18:15.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-11T00:21:29.532Z","etag":null,"topics":["fastapi","jwt","oauth2","python"],"latest_commit_sha":null,"homepage":"","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/kiselyovda.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-21T14:37:43.000Z","updated_at":"2024-03-28T09:22:00.000Z","dependencies_parsed_at":"2024-03-28T10:33:50.023Z","dependency_job_id":"45e69b10-1e28-4387-812c-4f00b8f6a99f","html_url":"https://github.com/kiselyovda/fastapi-jwt-oauth","commit_stats":null,"previous_names":["kiselyovda/fastapi-jwt-oauth"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiselyovda%2Ffastapi-jwt-oauth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiselyovda%2Ffastapi-jwt-oauth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiselyovda%2Ffastapi-jwt-oauth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiselyovda%2Ffastapi-jwt-oauth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kiselyovda","download_url":"https://codeload.github.com/kiselyovda/fastapi-jwt-oauth/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241099845,"owners_count":19909611,"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":["fastapi","jwt","oauth2","python"],"created_at":"2024-11-12T04:26:28.618Z","updated_at":"2025-12-31T01:10:25.494Z","avatar_url":"https://github.com/kiselyovda.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple OAuth authentication with FastAPI\n\n## Stack\n\n- [Python 3.12](https://github.com/python/cpython)\n- [FastAPI](https://github.com/tiangolo/fastapi)\n- [Poetry](https://github.com/python-poetry/poetry)\n- [PyJWT](https://github.com/jpadilla/pyjwt)\n- [bcrypt](https://github.com/pyca/bcrypt)\n\n## What i`ve done\n\n- [x] Release JWT Token on endpoint `/auth/login`.\n- [x] Get current user on endpoint `/users/me`.\n- [x] Get username of user on endpoint `/users/username`.\n\n## In the future\n- [ ] `PostgreSQL` connection with [SQLAlchemy 2.0+](https://github.com/sqlalchemy/sqlalchemy).\n- [ ] [Alembic](https://github.com/sqlalchemy/alembic) migrations.\n- [ ] Full `CRUD` operations `(CREATE, READ, UPDATE, DELETE)` with `/users` endpoint.\n- [ ] `Dockerfile`.\n- [ ] `docker-compose.yaml`.\n\n\n\u003e [!NOTE]\n\u003e To launch app you should run:\n\u003e ```bash\n\u003e mv .env.example .env\n\u003e python3 -m venv venv\n\u003e source venv/bin/activate\n\u003e (venv) pip install poetry\n\u003e (venv) poetry install\n\u003e (venv) uvicorn authorization.main:app --host localhost --port 8000 --reload\n\u003e ```\n\n\u003e [!NOTE]\n\u003e To make private and public keys check up [this file](./authorization//auth/README.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkiselyovda%2Ffastapi-jwt-oauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkiselyovda%2Ffastapi-jwt-oauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkiselyovda%2Ffastapi-jwt-oauth/lists"}