-
Notifications
You must be signed in to change notification settings - Fork 24
Description
Prerequisites
- I have searched the repository’s issues and Kinde community to ensure my issue isn’t a duplicate
- I have checked the latest version of the library to replicate my issue
- I have read the contributing guidelines
- I agree to the terms within the code of conduct
Describe the issue
Maybe there is an error in the documentation for python-sdk?
I am following to the exact point in the tutorial, I can get to the login part, and the user even logs-in into kinde, and I can see it there, I can also do:
kinde_client.is_authenticated()
and it responds: True
the problem is when I want to access the user data, such as:
kinde_client.get_user_details()
I only get the error
raise KindeTokenException(f"Token {token_name} doesn't exist.")
kinde_sdk.exceptions.KindeTokenException: Token id_token doesn't exist.
I've tries in flask and django. I have setup everything according to the tutorial, and I am using the GrantType.CLIENT_CREDENTIALS
All redirects work fine, I even get the user logged in, but i cant access the info to know who the user is, email, etc.
Library URL
https://github.com/kinde-oss/kinde-python-sdk
Library version
1.2.2
Operating system(s)
Ubuntu
Operating system version(s)
Ubuntu 22.04
Further environment details
I've tried with flask 3.0.0 and django 4.2.7
Reproducible test case URL
No response
Additional information
No response