Skip to content
This repository has been archived by the owner on Aug 5, 2023. It is now read-only.

HTTPS links not working correctly #8

Closed
zimonitrome opened this issue Aug 1, 2023 · 1 comment
Closed

HTTPS links not working correctly #8

zimonitrome opened this issue Aug 1, 2023 · 1 comment

Comments

@zimonitrome
Copy link

image

When running the default solid-auth application and trying to login, I get an error message that my site is not secure even though all other pages are secure.

To reproduce:

npm create jd-app@latest
cd my-app/
npm run build
export DISCORD_ID=...
export DISCORD_SECRET=...
export AUTH_TRUST_HOST=true
export AUTH_URL=https://polandballworld.com
export AUTH_SECRET=...
node ./dist/server.js

I am running this on a server that proxies localhost:3000 to my https domain with SSL.

It seems like some links do not use HTTPS

image

@zimonitrome zimonitrome changed the title HTTPS links not working correctly on reverse proxy HTTPS links not working correctly Aug 2, 2023
@zimonitrome
Copy link
Author

This was caused by request handling in solid-start only taking Origin into account and falling back to HTTP.

See solidjs/solid-start#966

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

No branches or pull requests

1 participant