supertokens / supertokens/supertokens-python

Celery integration

Open
#475 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
148
Forks
48
PR merge metrics
No merged PRs in 30d

Description

At the moment, your implementation is suitable for web applications. But I doubt that anyone in medium or large projects uses only one web. We are currently using celery+fastapi in our project. And there are some questions in terms of how to properly initialize this solution? At the start of each task, should we start the initialization of supertokens? Or check whether the app is initialized with each request to user?

I would be very glad if you write to the doc about integrating this solution into Celery, since the Celery community is huge. https://github.com/celery/celery

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing web-application integration guidance and Celery's task initialization model, with attention to the FastAPI setup and SuperTokens initialization questions described here. Document how to integrate SuperTokens with Celery and clarify whether initialization is needed per task or request; done means the Celery integration steps and lifecycle guidance are clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
fastapi, python
Domain
backend, documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.