Skip to content

Show corbits.dev and GitHub links on OAuth success screen - #379

Merged
TheGreatAxios merged 2 commits into
mainfrom
cl-5604-callback-links-v2
Aug 8, 2026
Merged

Show corbits.dev and GitHub links on OAuth success screen#379
TheGreatAxios merged 2 commits into
mainfrom
cl-5604-callback-links-v2

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Summary

  • Add PRODUCT_SITE_URL and PRODUCT_GITHUB_URL branding constants
  • Render both links in the OAuth callback page footer next to the product name
  • Cover the hrefs with a focused unit test; keep the no-external-assets guard for loads only

Test plan

  • bun test src/auth/callback-page.test.ts
  • bun run typecheck

Fixes CL-5604

@linear-code

linear-code Bot commented Aug 8, 2026

Copy link
Copy Markdown

CL-5604

Show corbits.dev and github.com/corbitsdev next to the product name
on the authorization callback page so the success screen points
operators at the public brand surfaces.

Fixes CL-5604
@TheGreatAxios
TheGreatAxios force-pushed the cl-5604-callback-links-v2 branch 2 times, most recently from dd3b3c6 to e17a48c Compare August 8, 2026 19:08
The URLs lived in branding.ts while their display text stayed inline in the
page template, so a rename would have had to touch both. Add matching label
constants and restore the no-external-assets guard to its full strength by
stripping the two intentional footer links before asserting no other
off-machine URL or network call appears.
@TheGreatAxios
TheGreatAxios force-pushed the cl-5604-callback-links-v2 branch from e17a48c to 4d7f52b Compare August 8, 2026 19:16
@TheGreatAxios
TheGreatAxios merged commit 103e9b6 into main Aug 8, 2026
3 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