{"id":23567138,"url":"https://github.com/godeltech/auth-service","last_synced_at":"2026-03-07T13:31:19.285Z","repository":{"id":215422391,"uuid":"613925467","full_name":"GodelTech/auth-service","owner":"GodelTech","description":"An OpenID-compliant auth service written in Python","archived":false,"fork":false,"pushed_at":"2025-05-20T12:20:44.000Z","size":9833,"stargazers_count":1,"open_issues_count":18,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-20T14:43:57.420Z","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/GodelTech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-03-14T14:43:02.000Z","updated_at":"2025-05-20T12:20:41.000Z","dependencies_parsed_at":"2024-01-04T11:32:24.092Z","dependency_job_id":"51048124-3825-4f8b-a93b-ac1c12f03ede","html_url":"https://github.com/GodelTech/auth-service","commit_stats":null,"previous_names":["godeltech/auth-service"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/GodelTech/auth-service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GodelTech%2Fauth-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GodelTech%2Fauth-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GodelTech%2Fauth-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GodelTech%2Fauth-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GodelTech","download_url":"https://codeload.github.com/GodelTech/auth-service/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GodelTech%2Fauth-service/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30215589,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T13:25:55.541Z","status":"ssl_error","status_checked_at":"2026-03-07T13:25:38.596Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-12-26T18:19:06.173Z","updated_at":"2026-03-07T13:31:19.244Z","avatar_url":"https://github.com/GodelTech.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![image](https://img.shields.io/github/actions/workflow/status/GodelTech/auth-service/build-and-test.yml?logo=github)\n![image](https://img.shields.io/docker/v/levigoldman/auth-service?logo=docker)\n![image](https://img.shields.io/github/release-date-pre/GodelTech/auth-service?logo=github)\n![image](https://img.shields.io/github/contributors/GodelTech/auth-service?logo=github)\n\n![image](https://img.shields.io/github/v/release/GodelTech/auth-service?include_prereleases)\n![image](https://img.shields.io/docker/v/levigoldman/auth-service)\n\n# Project installation\n\n##### Settings\n1. Create `.env` file in project root directory and add row:\n\u003eENV_FOR_DYNACONF=local\n2. Use local for ENV_FOR_DYNACONF if you want to run migrations and populate local database\n3. Use docker for ENV_FOR_DYNACONF if your database is running in a docker container\n3. Our tests are running inside PostgresContainer. You need to switch ENV_FOR_DYNACONF to test\nin order to execute tests.\n\n##### Running docker:\n\nWe have docker-compose.dev.yml and docker-compose.yml where the first one\nwill run postgresql, pgadmin and redis.\nAnd the docker-compose.yml will create a separate network and run\npostgresql, pgadmin, redis and app all together.\nIf you want to spin up all services, first you need to switch to DockerAppSettings\nIn src/config/setup.py make: app_env = DockerAppSettings().app_env\nAnd run the following command\n\n- *docker-compose -f ./docker-compose.yml up*\n\nYou may run another command in a second terminal to execute tests with the following command\n\n- *docker exec -it identity-server-poc_app_1 sh -c \"pytest -ra -cov tests\"*\n\nOr run the following command to run just postgresql, pgadmin, and redis services\n\n- *docker-compose -f ./docker-compose.dev.yml up*\n\n##### Starting poetry:\nInstall poetry (bash: \"pip install poetry\")\n- *poetry install*\n- *poetry shell*\n\n##### Server start:\n\n- uvicorn src.main:app --reload\n\n##### Settings for tests:\n\n- Add to the pyproject.toml this:\n\n*[tool.pytest.ini_options]\npythonpath = [\n  \".\", \"src\",\n]*\n\n- Create file \"*pytest.ini*\" and add to it this:\n\n*[pytest]\npythonpath = . src*\n\n- Run tests with \"*poetry run pytest\"\"*\n\n##### Settings for debugger:\n\nAdd to your *.vscode/settings.json* file your paths to Virtualenv folder and to the python. To get this paths use \"*poetry env info*\".\n\nExample (add your versions to *.vscode/settings.json*):\n*\"python.pythonPath\": \"/home/danya/.cache/pypoetry/virtualenvs/identity-server-poc-hY52nw-1-py3.10\",\n\"python.defaultInterpreterPath\": \"/home/danya/.cache/pypoetry/virtualenvs/identity-server-poc-hY52nw-1-py3.10/bin/python\",*\n\n##### PostgreSQL admin:\n\n*http://localhost/login?next=%2Fbrowser%2F*\n\n- login: *admin@example.com*, password: *admin* .After logging create your personal accaunt.\n- After relogging:right click \"*Server*\" -\u003e \"*Register*\" -\u003e\"*Server*\".\n\n  Name:*is_db*\n\n  Host name/adress:*172.20.0.1* (or your own adress)\n\n  Username:***postgres***\n\n  Password:*postgres*\n\n##### Alembic update or change DB:\n\n- upgrade:\n  \"alembic upgrade heads\"\n- change:\n  \"alembic revision --autogenerate -m \"[_**Your comment**_]\" \"\n\n##### Run Celery:\n\n- worker:\n  \"celery -A src.celery_logic.celery_main worker --loglevel=info\"\n- beat:\n  \"celery -A src.celery_logic.celery_main beat --loglevel=info\"\n\n##### Links:\n\n* Server:\n\n  *http://127.0.0.1:8000/*\n* Swagger:\n* http://127.0.0.1:8000/docs*\n\n- PostgreSQL admin:\n  *http://localhost/login?next=%2Fbrowser%2F*\n- test11\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgodeltech%2Fauth-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgodeltech%2Fauth-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgodeltech%2Fauth-service/lists"}