You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Is a sync version planned, that doesn't just wrap the asyncio one? #113
What kind of application are you validating tokens in? For example Flask, Django, a plain WSGI app, a CLI, or a worker or script.
A wsgi app that's written in falcon, but for all intent and purposes it would behave the same if it were in flask
Is a sync-only runtime a hard constraint for you, or is the async client hard to adopt in your codebase?
Is the concern about overhead, event loop handling (for example calling asyncio.run per request), or something else?
The current application is sync, with no async parts, so the async client would be hard to adopt. Overall I don't think it would be a great approach to create a new loop per request using asyncio.run. I mean my preference would be use some other library instead.
Any snippet of how you call the client would help too.
I don't have anything specific, at it's a classic wsgi application that authenticates the caller before calling the responder.
Activity
rmad17 commentedon Nov 18, 2026
Hi @CaselIT, thank you for opening this.
We'd like to understand your use case better so we can think about this properly. A few questions:
asyncio.runper request), or something else?Any snippet of how you call the client would help too.
CaselIT commentedon Nov 18, 2026
A wsgi app that's written in falcon, but for all intent and purposes it would behave the same if it were in flask
The current application is sync, with no async parts, so the async client would be hard to adopt. Overall I don't think it would be a great approach to create a new loop per request using asyncio.run. I mean my preference would be use some other library instead.
I don't have anything specific, at it's a classic wsgi application that authenticates the caller before calling the responder.
CaselIT commentedon Nov 18, 2026
as a side note, you seem to have the PR code review action https://github.com/auth0/auth0-api-python/blob/main/.github/workflows/claude-code-review.yml active on each issue comments: https://github.com/auth0/auth0-api-python/actions/runs/44356329032