{"id":15658363,"url":"https://github.com/robertoprevato/pythonjwtdemo","last_synced_at":"2025-07-25T08:07:06.805Z","repository":{"id":90868239,"uuid":"154964489","full_name":"RobertoPrevato/PythonJWTDemo","owner":"RobertoPrevato","description":"Demo for using Python to validate JWTs","archived":false,"fork":false,"pushed_at":"2018-10-27T13:03:39.000Z","size":40,"stargazers_count":28,"open_issues_count":0,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T22:32:00.675Z","etag":null,"topics":["jwks","jwt","oauth"],"latest_commit_sha":null,"homepage":null,"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/RobertoPrevato.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}},"created_at":"2018-10-27T12:56:00.000Z","updated_at":"2024-05-16T06:46:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"f1c30545-9b2b-4d30-9678-05edad1cc3e6","html_url":"https://github.com/RobertoPrevato/PythonJWTDemo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobertoPrevato%2FPythonJWTDemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobertoPrevato%2FPythonJWTDemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobertoPrevato%2FPythonJWTDemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobertoPrevato%2FPythonJWTDemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RobertoPrevato","download_url":"https://codeload.github.com/RobertoPrevato/PythonJWTDemo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252535254,"owners_count":21763921,"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":["jwks","jwt","oauth"],"created_at":"2024-10-03T13:12:10.637Z","updated_at":"2025-05-05T16:43:56.373Z","avatar_url":"https://github.com/RobertoPrevato.png","language":"Python","readme":"# Validating JWTs with Python\nThis demo demonstrates how to validate JWTs using Python, obtaining RSA public keys from JWKS.\n\nThis code has been described in this blog post: [https://robertoprevato.github.io/Validating-JWT-Bearer-tokens-from-Azure-AD-in-Python/](https://robertoprevato.github.io/Validating-JWT-Bearer-tokens-from-Azure-AD-in-Python/).\n\n**Important**: this code is just an example: it contains configuration to validate JWTs issued by Azure AD B2C, for an application configured in my test tenant.\n\n# Install requirements\nNote: `cryptography` package might require extra dependencies, please refer to its documentation to know how to install it.\n\n# Example\n```bash\npython demo.py \u003cJWT\u003e\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertoprevato%2Fpythonjwtdemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobertoprevato%2Fpythonjwtdemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertoprevato%2Fpythonjwtdemo/lists"}