Not able to login after creating user, looks like due to cookies. I am using public IP
dev.yaml file
unit: metrics: addr: "localhost:8081" tracing: addr: "localhost:4317" max-batch-size: 512 batch-timeout: 5 export-timeout: 30 max-queue-size: 2048
probod: hostname: "0.0.0.0:8080" encryption-key: "thisisnotasecretAAAAAAAAAAAAAAAAAAAAAAAAAAA=" chrome-dp-addr: "localhost:9222"
api: addr: "0.0.0.0:8080" cors: allowed-origins: ["http://localhost:8080", "http://localhost:5173", "http://PUBLIC_IP:8080"] extra-header-fields: {}
pg: addr: "PUBLIC_IP:5432" username: "postgres" password: "postgres" database: "probod" pool-size: 100
auth: disable-signup: false invitation-confirmation-token-validity: 3600 cookie: name: "SSID" domain: "PUBLIC_IP" secret: "this-is-a-secure-secret-for-cookie-signing-at-least-32-bytes" duration: 24 password: pepper: "this-is-a-secure-pepper-for-password-hashing-at-least-32-bytes" iterations: 1000000
trust-auth: cookie-name: "TCT" cookie-domain: "PUBLIC_IP" cookie-duration: 24 token-duration: 168 report-url-duration: 15 token-secret: "this-is-a-secure-secret-for-trust-token-signing-at-least-32-bytes" scope: "trust_center_readonly" token-type: "trust_center_access"
Tried multiple config changes but not working. Works with localhost only.
This application is not intended to be publicly exposed when run locally. The local environment is meant solely for development purposes. I strongly recommend that you do not expose it through your public IP. Instead, properly deploy it: this will allow you to use a proper domain, enable HTTPS, and take advantage of other essential security features.
You can use our Docker image (ghcr.io/getprobo/probo:latest). The only mandatory dependencies are S3 (or an equivalent) and PostgreSQL (PG). We will soon write documentation about proper deployment.
I've set up Probo on an Ubuntu server (not a local dev machine), and I’d like to access it remotely for testing and internal use. I do plan to properly set up DNS and configure SSL (likely via a reverse proxy like Nginx with Let's Encrypt) so it’s not exposed as a bare IP.
I just want confirmation if current setup works with IP or DNS.
Did you try:
cookie:
domain: "Domain=<LOCAL_IP>"
?
Yes not working
Can you please confirm is this setup works with IP?
We never deployed it directly just using an IP without a domain, so we don't know what could be the issue with the cookie.