fix(auth )login success screen#6
Conversation
WalkthroughThis PR enhances the Prisma CLI OAuth login flow to display a customized success page. After successful authentication, the callback handler resolves the workspace name from stored tokens via the management API, renders a personalized HTML success page with proper HTML escaping, and returns it with UTF-8 charset metadata. Tests validate charset handling, workspace name resolution, HTML escaping, fallback behavior, and styling. Documentation updates describe the confirmation behavior. ChangesOAuth Login Success Page with Workspace Resolution
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Updates the OAuth login success screen with UTF-8 rendering, themed styling, workspace-aware copy, and better callback coverage.