|
1 | 1 | # Optional: T3 Connect source builds |
2 | | -# Leave these unset to disable optional T3 Connect features in local source builds. |
3 | | -# Release builds inject their public values at build time. Do not add server-side |
4 | | -# secrets to this file. |
| 2 | +# `cp .env.example .env` enables T3 Connect against the production deployment. |
| 3 | +# These are the same public identifiers baked into official release builds, not |
| 4 | +# secrets. Remove or comment them out to build with cloud features disabled. |
| 5 | +# Do not add server-side secrets to this file. |
5 | 6 |
|
6 | | -# Get these from the Clerk Dashboard under API keys, JWT templates, and OAuth applications. |
7 | | -# T3CODE_CLERK_PUBLISHABLE_KEY=pk_test_... |
8 | | -# T3CODE_CLERK_JWT_TEMPLATE=t3-relay |
9 | | -# T3CODE_CLERK_CLI_OAUTH_CLIENT_ID=oauthapp_... |
| 7 | +# Production Clerk instance. To use your own, get these from the Clerk Dashboard |
| 8 | +# under API keys, JWT templates, and OAuth applications. |
| 9 | +T3CODE_CLERK_PUBLISHABLE_KEY=pk_live_Y2xlcmsudDMuY29kZXMk |
| 10 | +T3CODE_CLERK_JWT_TEMPLATE=t3-relay |
| 11 | +T3CODE_CLERK_CLI_OAUTH_CLIENT_ID=hzxSgY2cH10sDU2r |
10 | 12 |
|
11 | 13 | # Optional: signed macOS passkey builds. The RP domain defaults to the Frontend API |
12 | 14 | # hostname encoded in T3CODE_CLERK_PUBLISHABLE_KEY. Set the override only when Clerk |
|
15 | 17 | # T3CODE_MACOS_PROVISIONING_PROFILE=/absolute/path/to/t3code.provisionprofile |
16 | 18 | # T3CODE_CLERK_PASSKEY_RP_DOMAINS=example.clerk.accounts.dev,clerk.example.com |
17 | 19 |
|
18 | | -# Get this from your relay deployment. `infra/relay` deploys update it automatically. |
19 | | -# T3CODE_RELAY_URL=https://relay.example.com |
| 20 | +# Production relay. For a self-hosted relay, `infra/relay` deploys update it |
| 21 | +# automatically. |
| 22 | +T3CODE_RELAY_URL=https://relay.t3.codes |
20 | 23 |
|
21 | 24 | # Optional: hosted app origin used by the CLI's out-of-band OAuth flow. |
22 | 25 | # Defaults to https://app.t3.codes; override to test against a staging deployment. |
|
0 commit comments