Skip to main content

Python implementation of OAuth2 and OpenID Connect messages

Project description

oidcmsg

Implementation of OIDC protocol messages.

oidcmsg is the 2nd layer in the JwtConnect stack (cryptojwt, oidcmsg, oidcservice, oidcrp)

Handles serialising into a couple of formats (jwt, json, urlencoded and dict) and deserialising from said formats.

It also does verification of messages , that is :

  • verifies that all the required parameters are present and has a value
  • verifies that the parameter values are of the right type
  • verifies that if there is a list of permitted values, a parameter value is on that list.

and finally if the value is a signed and/or encrypted JWT this package will perform the necessary decryption and signature verification.

Also implements a KeyJar which keeps keys belonging to different owners. One owner may have many keys. If some of these keys have a common origin, like described in a JWKS. Such a set will be kept in a keyBundle. Also implemented in this package.

Please read the Official Documentation for getting usage examples and further informations.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oidcmsg-1.3.3.post1.tar.gz (32.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page