Skip to content

Comments

feat: local auth testing with Docker (localauth0 + OpenResty proxy) (STIT-338)#14

Open
mbarlow12 wants to merge 41 commits intomainfrom
feat/ui-auth-docker
Open

feat: local auth testing with Docker (localauth0 + OpenResty proxy) (STIT-338)#14
mbarlow12 wants to merge 41 commits intomainfrom
feat/ui-auth-docker

Conversation

@mbarlow12
Copy link
Contributor

Summary

  • Add OpenResty CORS proxy for localauth0 (nonce injection, CORS headers)
  • Add auth0-proxy and localauth0 services to docker-compose (--profile auth-test)
  • Pass Vite build args through Dockerfile for auth config
  • Add LoginPage component, replace auto-redirect in AuthGate
  • Fix LogoutButton to use openUrl (bypasses localauth0's missing /v2/logout)
  • Fix client_id to match localauth0's hardcoded expectation
  • Add docs/local-auth-proxy.md explaining proxy architecture, localauth0 workarounds, and troubleshooting

Test plan

  • npx vitest run — 51 tests pass
  • Full browser flow: login → authenticated content → logout → login page
  • dev/auth-demo.sh — all 7 API auth scenarios pass

AlexAxthelm and others added 30 commits February 10, 2026 13:55
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.

2 participants