Giter VIP home page Giter VIP logo

kinde-python-sdk's Issues

Bug: Token id_token doesn't exist

Prerequisites

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

Feature request: support newer versions of certifi

Prerequisites

What is the problem you’re trying to solve?

Attempting to install litellm, it has come to my attention that this requires a version of certifi that is over a year old

litellm (1.16.21) depends on certifi (>=2023.7.22,<2024.0.0), litellm (>=1.16.21,<2.0.0) requires certifi (>=2023.7.22,<2024.0.0).
And because kinde-python-sdk (1.2.2) depends on certifi (>=2022.12.7,<2022.13.0)

What solution would you like to see?

I would likely unpeg certifi unless there is a known incompatibility. If there is a known incompatibility, I would work on resolving that so that people can use an up to date version of that library.

Additional information

No response

Feature request: support newer versions of typing-extensions

Prerequisites

What is the problem you’re trying to solve?

Attempting to install the latest version of the library but it doesn't work alongside with a quite new codebase since the typing-extensions version is 4.8.0 which released 1.5 years ago.

What solution would you like to see?

Upgrade typing-extensions to the latest version 4.11.0.

Additional information

No response

Bug: Dependency conflict with the newest Pydantic

Prerequisites

Describe the issue

Can't install the package when using the newest Pydantic and FastAPI:

The conflict is caused by:
    fastapi 0.101.0 depends on typing-extensions>=4.5.0
    kinde-python-sdk 1.2.1 depends on typing-extensions~=4.5.0
    pydantic 2.1.1 depends on typing-extensions>=4.6.1
    fastapi 0.101.0 depends on typing-extensions>=4.5.0
    kinde-python-sdk 1.2.1 depends on typing-extensions~=4.5.0
    pydantic 2.0.3 depends on typing-extensions>=4.6.1
    fastapi 0.101.0 depends on typing-extensions>=4.5.0
    kinde-python-sdk 1.2.1 depends on typing-extensions~=4.5.0
    pydantic 2.0.2 depends on typing-extensions>=4.6.1

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

Library URL

https://github.com/kinde-oss/kinde-python-sdk

Library version

1.2.1

Operating system(s)

Ubuntu

Operating system version(s)

22.04

Further environment details

No response

Reproducible test case URL

No response

Additional information

No response

Documentation issue: Update README to Kinde's OSS Template

Prerequisites

How can we improve the docs or what is missing?

Update README to Kinde's OSS template for SDK - https://github.com/kinde-oss/kinde-oss-repo-template/blob/main/README_template_non-generator.md

Provide extra context, such as what you were trying to do and your requirements

N/A

If the docs page already exists, please provide a link

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.