Client Credentials with Python SDK
When using OAuth Client Credentials flow, does the Python SDK provide a function to verify and decode the bearer authorization header?
2 Replies
The Python SDK for Kinde does provide functionality related to OAuth and token handling as we designed it be agonistic so any framework would work, we are in the process of updating the SDK to improved. You could install your preferred JWT verification.
However, the SDK does offer methods for token introspection and user profile retrieval, which might be helpful for your use case.
For example, you can use the token_introspection method to get details about a token:
Token Introspection
Get token details
Get User Profile
Returns the details of the currently logged in user
These methods might help you verify the token and retrieve user information, but they don't specifically address decoding the bearer authorization header.
thanks Andre, I will try that.