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
I’ve deployed to Vercel with a domain mydomain.com and the wildcard too. When I open app.mydomain.com I get a 404 from Papermark. I can open the branch url, papermark-git-main-iwueuwnd.vercel.app and then I see the login page, but when I click the link in the email nothing happens, the same login page pops up.
What should I do.
Thanks.
The text was updated successfully, but these errors were encountered:
I had the same issues, thus I was deploying on traditional server and not on Vercel. The 404 error is due to some hardcoded hostname-matching login in the middleware.ts file. The redirect to the login page is due to the session cookie being rejected from the browser because having the wrong domain hardcoded.
With the changes I proposed in #1490 I was able to successfully login on selfhosted instances (haven't tried Vercel deployment though).
Nevertheless, to get a fully complete selfhosted instance other tweaks in the codebase are required, I will try to send other PR when I have time if the project seems receptive to improve the selfhosting experience.
I guess they will be happy to offer commercial support on selfhosting.
I’ve deployed to Vercel with a domain mydomain.com and the wildcard too. When I open app.mydomain.com I get a 404 from Papermark. I can open the branch url, papermark-git-main-iwueuwnd.vercel.app and then I see the login page, but when I click the link in the email nothing happens, the same login page pops up.
What should I do.
Thanks.
The text was updated successfully, but these errors were encountered: