This is the primary protocol (there’s also SAML) that I use to implement single-sign on across my homelab.
I use Authentik, configured via terraform in my homelab repo, to authenticate.
Python’s authlib error message: Invalid key set format
This is an error that occurs because authlib is looking for a key signing the JWT
but the JWT isn’t signed with one. Make sure you assign a signing key!