Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Celery integration #475

Open
leemurus opened this issue Feb 8, 2024 · 1 comment
Open

Celery integration #475

leemurus opened this issue Feb 8, 2024 · 1 comment

Comments

@leemurus
Copy link

leemurus commented Feb 8, 2024

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

@rishabhpoddar
Copy link
Contributor

In general, if you are using our backend SDK functions, you need to call the supertokens.init once per process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants