Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions alchemy.run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// `pnpm run identity-hub:dev-client --stage dev-<name>`: the hub client of the development
// deployment that apps/scout/.env.local selects.
//
// Each deployment has a client of the identity hub at https://auth.samebase.com, for Google
// Each deployment has a client of the identity hub at https://id.samebase.com, for Google
// sign-in (RFC 134). IdentityHub.Client registers with `POST /register` (RFC 7591), sending
// the GitHub OIDC token of the run (`id-token: write` in alchemy.yml), or on a laptop the app's
// initial access token that the production registration saved. The hub first reads
Expand Down Expand Up @@ -49,7 +49,7 @@ repository and name, which a laptop's stage reads from `prod`.
*/
const IDENTITY_HUB_APP = "trailscout";
/** Samebase's identity hub, where every client of TrailScout registers. */
const HUB = { issuer: "https://auth.samebase.com" };
const HUB = { issuer: "https://id.samebase.com" };

/** The file of `npx convex dev`, which selects the development deployment. CI has none. */
const APP_ENV_LOCAL = "apps/scout/.env.local";
Expand Down
2 changes: 1 addition & 1 deletion docs/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Convex.
Stage `prod` mints the account API token `scout production email sending`, with only Email
Sending Write, and retains it when the stack is destroyed. See `EMAIL_SETUP.md`.

Google sign-in runs through the identity hub at `https://auth.samebase.com`. Each deployment
Google sign-in runs through the identity hub at `https://id.samebase.com`. Each deployment
registers its client with `POST /register`, the client registration request of RFC 7591. It
sends the GitHub OIDC token of the run (`id-token: write`), so sign-in needs no secret of its
own. The hub first reads `/samebase-verification.json` on the callback's site
Expand Down