Skip to content

Bug: Cannot get SDK to work on either Flask or FastAPI #129

@RemcoGoy

Description

@RemcoGoy

Prerequisites

Describe the issue

At first, I tried to use FastAPI to setup Kinde Authentication. Following the example code doesn't work, the /user path that is provided gives the following error Failed to get user info: OAuth.is_authenticated() takes 1 positional argument but 2 were given. Creating a custom endpoint to check authentication status always says it's not authenticated.

Tried to do the same on Flask but getting similar results there as well, what am I doing wrong?

Library URL

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

Library version

2.2.0

Operating system(s)

Windows

Operating system version(s)

Windows 11 Home - Build 26200

Further environment details

No response

Reproducible test case URL

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions