solenovex / Identity-Server-4-Python-Hug-Api-Jwks

Secure a Python (Hug) API with IdentityServer4 using the JWKS endpoint and RS256 algorithm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Identity Server 4 samples: Clients Call Python Hug Api

I use hug as python api, Hug

You need to install theses python packages:
hug, pyjwt, hug_middleware_cors, requests, cryptography

Run Python Api, and the port should be 8000:   hug -f main.py

The dotnetcore part of this solution is copied from identity server 4's official samples repository: Quickstart 7.

About

Secure a Python (Hug) API with IdentityServer4 using the JWKS endpoint and RS256 algorithm


Languages

Language:JavaScript 95.7%Language:C# 4.1%Language:CSS 0.2%Language:Python 0.0%Language:HTML 0.0%