[codex] Seed auth provider emulators for app callbacks#27
Draft
BLamy wants to merge 1 commit into
Draft
Conversation
6a8381a to
c3ad152
Compare
|
🔎 Loop QA preview (all-k8s backend): https://pr-27--loop-qa-j63k5x.netlify.app Production ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
AUTH_GOOGLE_ID,AUTH_MICROSOFT_ENTRA_ID_ID,AZURE_AD_CLIENT_ID,AUTH0_ISSUER_BASE_URL,CLERK_CLIENT_ID, and sharedAUTH_URL/NEXTAUTH_URLvalues./api/auth/callback/*and/auth/callback/*, plus Microsoft Entra and Auth0 aliases.Why
Auth emulators already started on fixed ports, but their default OAuth clients used static localhost:3000 callbacks. Apps running under Loop QA use dynamic ports such as 8080 or 18080, so provider authorize pages can reject the app callback unless the worker seeds provider clients for the real emulated app URL.
Validation
npm install && npm run checkCompanion change
GrooveCart PR #3 adds the provider buttons and local auth-emulator Playwright coverage that exercises this support.