Providers link to HTTP version of site not HTTPS #7905
Unanswered
zimonitrome
asked this question in
Help
Replies: 2 comments 1 reply
-
I tried both: |
Beta Was this translation helpful? Give feedback.
1 reply
-
I am facing the same issue using auth.js and an Express app hosted on Heroku. Would love some insight into this problem. I've tried setting AUTH_REDIRECT_PROXY and NEXTAUTH_URL to https://my-domain.com/api/auth but it doesn't work. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am hosting a site on Digitalocean using a reverse proxy. So everything under http://localhost:3000 is mapped to https://mysite.com/ everything works great except authjs. Clicking signin correctly takes me to https://mysite.com/api/auth/signin?csrf=true but on that site, my buttons link to HTTP versions of my site:

And clicking those buttons works but the browser stops me and says that site is not secure to login on.
How can I fix this?
Beta Was this translation helpful? Give feedback.
All reactions