Skip to content

chore: replace proprietary terms#48

Merged
maxy-shpfy merged 1 commit into
mainfrom
06-30-chore_replace_proprietary_terms
Jul 1, 2026
Merged

chore: replace proprietary terms#48
maxy-shpfy merged 1 commit into
mainfrom
06-30-chore_replace_proprietary_terms

Conversation

@maxy-shpfy

@maxy-shpfy maxy-shpfy commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

TL;DR

Replaces all references to the Minerva/Oasis SSO and auth system with the Oktasso/Tangle equivalents across the codebase.

What changed?

  • Renamed scripts/minervaAuth.tsscripts/oktassoAuth.ts and updated all exported interfaces (MinervaHeadersOktassoHeaders, getMinervaHeadersgetOktassoHeaders) and internal logic to use OKTASSO_* environment variables and cookie names instead of MINERVA_*.
  • Replaced scripts/print-oasis-token.ts with scripts/print-tangle-token.ts, updating the token script to use TANGLE_TOKEN / TANGLE_BASE_URL and the Oktasso auth flow.
  • Renamed the oasis:token npm script to tangle:token and updated the dev script to set AUTH_JWT_TOKEN_COOKIE_NAME=OKTASSO_TOKEN.
  • Replaced all OASIS_TOKEN environment variable references with TANGLE_TOKEN in turbo.json, .env.example, egressAllowlist.ts, and documentation.
  • Renamed oasisAuthHeaders()tangleAuthHeaders() in the egress allowlist, updating the credential injection function to read from TANGLE_TOKEN.
  • Updated all doc comments, error messages, and inline documentation to reference Oktasso instead of Minerva and Tangle instead of Oasis, including in contracts.ts, identity.ts, config.ts, me.ts, sessionStore.ts, and handlers.ts.
  • Removed Shopify-specific branding (logo, company name) from the OAuth success page in oktassoAuth.ts and updated the Surface design system error link to point to the local design system doc instead of the Polaris external URL.
  • Updated example URLs in docs from oasis.shopify.io to tangle.example.com and proxy references from "oasis pod-proxy" to "tangle pod-proxy".

How to test?

  1. Copy .env.example to .env and populate the OKTASSO_* variables.
  2. Run pnpm tangle:token and confirm the PKCE browser flow completes, printing an OKTASSO_TOKEN=<session> cookie string to stdout.
  3. Run pnpm dev and verify the server starts with AUTH_JWT_TOKEN_COOKIE_NAME=OKTASSO_TOKEN and that GET /api/me correctly resolves a user identity from the Oktasso JWT cookie.
  4. Confirm egress requests to the Tangle API pick up credentials from TANGLE_TOKEN rather than any hardcoded value.

Why make this change?

The codebase previously contained Shopify-internal references (Minerva, Oasis, oasis.shopify.io, minerva.shopifycloud.com) that tied the project to internal Shopify infrastructure. This change decouples the auth and egress systems from those internal dependencies, replacing them with the generic Oktasso SSO and Tangle API equivalents so the project can be used outside of Shopify's internal environment.

maxy-shpfy commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator Author

@maxy-shpfy maxy-shpfy force-pushed the 06-30-chore_replace_proprietary_terms branch from 148a241 to abb0c23 Compare July 1, 2026 18:52
@maxy-shpfy maxy-shpfy force-pushed the 06-30-chore_tidy_up_example_bundles branch from 76d7247 to 5afc455 Compare July 1, 2026 18:52
@maxy-shpfy maxy-shpfy force-pushed the 06-30-chore_replace_proprietary_terms branch from abb0c23 to 706e5bd Compare July 1, 2026 19:02
@maxy-shpfy maxy-shpfy marked this pull request as ready for review July 1, 2026 19:13
@maxy-shpfy maxy-shpfy requested a review from a team July 1, 2026 19:57

maxy-shpfy commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator Author

Merge activity

  • Jul 1, 9:40 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Jul 1, 9:42 PM UTC: Graphite rebased this pull request as part of a merge.
  • Jul 1, 9:42 PM UTC: @maxy-shpfy merged this pull request with Graphite.

@maxy-shpfy maxy-shpfy changed the base branch from 06-30-chore_tidy_up_example_bundles to graphite-base/48 July 1, 2026 21:40
@maxy-shpfy maxy-shpfy changed the base branch from graphite-base/48 to main July 1, 2026 21:40
@maxy-shpfy maxy-shpfy force-pushed the 06-30-chore_replace_proprietary_terms branch from 706e5bd to 77397a4 Compare July 1, 2026 21:41
@maxy-shpfy maxy-shpfy merged commit 38f2f64 into main Jul 1, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant