Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.19 KB

README.md

File metadata and controls

35 lines (22 loc) · 1.19 KB

IntegrationOS AuthKit SDK for Python

Secure token generation for IntegrationOS AuthKit using PyPI.

Installation

You can install the IntegrationOS AuthKit SDK using pip:

pip install integrationos-authkit

Usage

Here's a quick example of how to use the SDK:

from integrationos import AuthKitToken

@app.route('/authkit-token', methods=['POST'])
def create():
    authKitToken = AuthKitToken("sk_live_12345")
    token = authKitToken.create()

    return token

You'll want to switch out the API Key for your own, which will later tell your frontend which integrations you'd like to make available to your users.

If you pass an identity or identityType (user, team, or organization), you'll be able to query for all connections scoped to that identity. The identity is used to generate the unique Connection Key for the user once they successfully connect an account.

Full Documentation

Please refer to the official IntegrationOS AuthKit docs for a more holistic understanding of IntegrationOS AuthKit.