Issue: SuperTokens Refresh API Fails (502 on Netli...
# general
v
Issue: SuperTokens Refresh API Fails (502 on Netlify) Hi I successfully ran SuperTokens locally, but after deploying on Netlify, the refresh API fails with a 502 error. Issue Details: On local, it works fine. On Netlify, setting the website & API domain causes the refresh API to return 502. Header issue: The content-type in the response changes to text/html, which breaks the refresh API. What I Tried: Double-checked websiteDomain & apiDomain in frontend/backend config. Verified CORS settings. Looked into Netlify logs, but no clear errors. Question: How do I fix the 502 error and ensure the refresh API returns the correct response format? can anyone please tell what are the right steps? I do have a post for that