{"id":26048598,"url":"https://github.com/jackkweyunga/drf_oidc_example","last_synced_at":"2026-07-21T19:35:25.706Z","repository":{"id":184683998,"uuid":"672305750","full_name":"jackkweyunga/drf_oidc_example","owner":"jackkweyunga","description":"An example django rest framework project with OIDC capabilities. This can be used to create a microservice api in django. ","archived":false,"fork":false,"pushed_at":"2023-07-29T16:43:44.000Z","size":1017,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-08T00:28:26.653Z","etag":null,"topics":[],"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/jackkweyunga.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}},"created_at":"2023-07-29T16:08:45.000Z","updated_at":"2024-12-20T02:05:31.000Z","dependencies_parsed_at":"2023-07-29T17:39:15.584Z","dependency_job_id":null,"html_url":"https://github.com/jackkweyunga/drf_oidc_example","commit_stats":null,"previous_names":["jackkweyunga/drf_oidc_example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jackkweyunga/drf_oidc_example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackkweyunga%2Fdrf_oidc_example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackkweyunga%2Fdrf_oidc_example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackkweyunga%2Fdrf_oidc_example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackkweyunga%2Fdrf_oidc_example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jackkweyunga","download_url":"https://codeload.github.com/jackkweyunga/drf_oidc_example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackkweyunga%2Fdrf_oidc_example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279011188,"owners_count":26084900,"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-10-12T02:00:06.719Z","response_time":53,"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":[],"created_at":"2025-03-08T00:27:05.750Z","updated_at":"2025-10-12T11:49:14.979Z","avatar_url":"https://github.com/jackkweyunga.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DJANGO MICRO SERVICE \n\nAn example for a django microservice project.\n\n## Features\n\n- [x] Authentication and Authorization API using [mozilla-django-oidc](https://github.com/mozilla/mozilla-django-oidc) package\n- [x] Keycloak Compatible\n\n## Endpoints:\n\n| Endpoints    | Description                                                                                                               |\n|--------------|---------------------------------------------------------------------------------------------------------------------------|\n| /            | A public api endpoint                                                                                                     |\n| /protected   | A protected endpoint; requires an authenticated user. Requires an Bearer token passed in the request Authorization header |\n| /healthcheck | A health check endpoint                                                                                                   |\n## Setup\n\ncreate a `.env` file and add the following with there values:\n\n```dotenv\n\nOIDC_RP_CLIENT_ID=\nOIDC_RP_CLIENT_SECRET=\nOIDC_OP_AUTHORIZATION_ENDPOINT=\nOIDC_OP_TOKEN_ENDPOINT=\nOIDC_OP_USER_ENDPOINT=\nOIDC_OP_END_SESSION_ENDPOINT=\nOIDC_OP_JWKS_ENDPOINT=\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackkweyunga%2Fdrf_oidc_example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjackkweyunga%2Fdrf_oidc_example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackkweyunga%2Fdrf_oidc_example/lists"}