Skip to main content

No project description provided

Project description

Identity Client Library Python

How to install

  • use pip:
    pip install tekoid

How to use

  • First, import ClientSDK into your sourcecode. I.E:
from tekoid import ClientSDK
  • Second, you need to instantiate ClientSDK. See example:
clientSDK = ClientSDK(client_id=os.getenv("CLIENT_ID"),

Note: redirect_uri must be declare in iam admin system

addition field type default
scope array [openid,profile]
base_uri string
authorize_path string /oauth/authorize
token_path string /oauth/token
refresh_token_path string /oauth/token
revoke_token_path string /oauth/revoke
jwks_path string /.well-known/jwks.json
verify_ssl boolean True
  • Support function:

    • get_authorization_url():

      • return url, state
    • get_token(url, state):

      • use for authorization code flow, pass url get from authorization server and state get above
      • return token data
    • get_token():

      • use for client credentials flow
      • return token data
    • get_user_info(token):

      • pass id_token get above
      • return user data
    • refresh_token(refresh_token):

      • pass refresh token get from get_token()
      • return new token data
  • you can see the sample code at


Project details

Download files

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

Files for tekoid, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size tekoid-1.0.1-py3-none-any.whl (4.6 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size tekoid-1.0.1.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page