Title: fix(docker): require persistent auth secrets by brainx · Pull Request #5801 · simstudioai/sim · GitHub
Open Graph Title: fix(docker): require persistent auth secrets by brainx · Pull Request #5801 · simstudioai/sim
X Title: fix(docker): require persistent auth secrets by brainx · Pull Request #5801 · simstudioai/sim
Description: Summary require persistent auth and encryption secrets before production Compose starts document protected, no-clobber secret setup across the README, contributor guide, and localized Docker guides add a regression test covering the app and realtime secret interpolation Root cause The documented quick start launched production Compose without BETTER_AUTH_SECRET, ENCRYPTION_KEY, or INTERNAL_API_SECRET. The app root could pass the health check, but Better Auth rejected signup at request time because it fell back to its forbidden production default secret. Fixes #5625 Validation node ../../node_modules/vitest/vitest.mjs run lib/core/config/docker-compose-secrets.test.ts 'app/api/auth/[...all]/route.test.ts' - 9 passed node node_modules/@biomejs/biome/bin/biome check apps/sim/lib/core/config/docker-compose-secrets.test.ts - passed changed Docker MDX guides compiled with @mdx-js/mdx README quick-start shell block parsed under sh, bash, and zsh git diff --check - passed Limitations Full app type-check currently stops on the unrelated existing responseErrorMessage error in apps/sim/tools/github/create_pr_review.ts:261. Docker Compose is unavailable in this environment, so the modified Compose file was not executed with docker compose config or docker compose up. The original auth failure and valid-secret control were reproduced against the official images using Apple Container.
Open Graph Description: Summary require persistent auth and encryption secrets before production Compose starts document protected, no-clobber secret setup across the README, contributor guide, and localized Docker guide...
X Description: Summary require persistent auth and encryption secrets before production Compose starts document protected, no-clobber secret setup across the README, contributor guide, and localized Docker guide...
Opengraph URL: https://github.com/simstudioai/sim/pull/5801
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:509089cf-70dc-0f98-30a8-43184c4eed52 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B446:3C8012:34B70C:4D4045:6A62F255 |
| html-safe-nonce | 03fbfe3fbb8911c675c32ab7690c2888b6b0e12ee118a5376b96a3b739401a83 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDQ2OjNDODAxMjozNEI3MEM6NEQ0MDQ1OjZBNjJGMjU1IiwidmlzaXRvcl9pZCI6Ijg2NTE4MzM0OTA2NTYxMjk2MjEiLCJyZWdpb25fZWRnZSI6Indlc3R1czIiLCJyZWdpb25fcmVuZGVyIjoid2VzdHVzMiJ9 |
| visitor-hmac | 801b296598af50f2f455ace7b85f98c5b47c5d0e9f7ada4e18233444720da7a1 |
| hovercard-subject-tag | pull_request:4101930617 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/5801/files |
| twitter:image | https://avatars.githubusercontent.com/u/12695242?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/12695242?s=400&v=4 |
| og:image:alt | Summary require persistent auth and encryption secrets before production Compose starts document protected, no-clobber secret setup across the README, contributor guide, and localized Docker guide... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b415018e190e73858133ddcaa36acce7b3f3572fe54dda84bd3b21a6ec714c30 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 22f98521e99f504294ab0812b66104d50eb75a70 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width