fastapi docs are outdated.
Hello, I'm trying to configure a fast-api as documented but it seems to miss a few steps . https://docs.kinde.com/developer-tools/sdks/backend/python-sdk/
1) I get KindeConfigurationException: Client ID is required. when I do fastapi run dev --port 5000. It's fixable with load_env
2) Then, when I hit /login I get "AssertionError: SessionMiddleware must be installed to access request.session" and this is where I'm stuck.
1) I get KindeConfigurationException: Client ID is required. when I do fastapi run dev --port 5000. It's fixable with load_env
2) Then, when I hit /login I get "AssertionError: SessionMiddleware must be installed to access request.session" and this is where I'm stuck.
Kinde docs
Complete guide for Python SDK including Flask and FastAPI integration, OAuth configuration, environment variables, and session management for Python 3.9+ applications.