A collection of useful functions for dealing with OAuth
Project description
OAuthToolKit
A collection of useful functions for dealing with OAuth
Documentation
Minimal survival command...
% pip install oatk
Using it from the command line with a token in your clipboard (on MacOS)...
% oatk from_clipboard jwks jwks_uri-certs.json header
alg: RS256
typ: JWT
kid: deHeFbw74Qunnoq524B8FCeAB5tk_1LrEWuo8yseBuc
% oatk from_clipboard jwks jwks_uri-certs.json show
exp: 1663771219
iat: 1663770919
jti: 74dfe057-88ff-4fae-ebc2-6e65ac3d463b
iss: https://login.company.com/auth/realms/TST
sub: cd521946-4c009688-298b-239d1-449e-5aa
typ: Bearer
azp: user
acr: 1
scope: openid identification_type language alias_name email user_code action_codes permission_groups profile
clientId: user
clientHost: 1.11.11.1
identification: simple
email_verified: false
user_code: user
preferred_username: service-account-user
clientAddress: 1.11.11.1
% oatk from_clipboard jwks jwks_uri-certs.json validate
True
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
oatk-0.0.1.tar.gz
(4.6 kB
view hashes)
Built Distribution
oatk-0.0.1-py3-none-any.whl
(4.8 kB
view hashes)