Does replauth still not work with deployments?

I deployed a repl which uses replauth, but now the replauth does not work? I assumed replauth would surely be working by now considering all other hosting methods have been removed.

Can someone confirm if replauth works with deployments, or something has gone wrong with my code? Cheers.

you can try the repl-auth or replace-replit packages by haroony on NPM to make it work, deployments or any other hoster

NPM? This is a Flask project, how would one go about using them?

port it? it was made for node, and I don’t know of any python drop-in handlers

No thanks then, I will await Replit’s reply. The problem is not the backend anyway.

Hey @CodingCactus!

The team let me know that Repl Auth should work with Deployments. I was able to reproduce your issue and have escalated this to the team. I will follow up once I have an update!

1 Like

Hey @CodingCactus, thanks for reporting. There is a bug on our side where if you add a domain to a deployment and you’re using magic auth, it will take an extra redeploy to pick up the domain link fully. So as a workaround you should be able to redeploy the repl to solve the problem. Let me know if that doesn’t work.

1 Like

Thank you! After redeploying, it’s working perfectly :partying_face:

1 Like

Would you happen to be able to look at this one too Setting cookies from backend doesn't work with autoscale deployment :point_right: :point_left: :pleading_face:

Sure, I’ll respond on that thread.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.