Python
Integrating with sgID in a Python application
Installation
pip install sgid-clientFramework guides
Quick start
Step 1: Initialize the SDK
sgid_client = SgidClient(
client_id=os.getenv("SGID_CLIENT_ID"),
client_secret=os.getenv("SGID_CLIENT_SECRET"),
private_key=os.getenv("SGID_PRIVATE_KEY"),
redirect_uri=os.getenv("SGID_REDIRECT_URI"),
)Step 2: Generate a code verifier and challenge pair
Step 3: Generate the authorization URL
Step 4: Receive the callback
Step 5: Retrieve the data
API reference
Last updated
Was this helpful?
