feat(auth0-react): expose Experiment Center override params on AuthorizationParameters - #1253
siddhikotak wants to merge 3 commits into
Conversation
…izationParameters
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: auth0/auth0-react/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 4 included reviews per hour; 2 remain after this review. 📝 WalkthroughWalkthroughThe README and examples document how to pass Experiment Center variant parameters on login calls. Tests verify parameter forwarding through ChangesExperiment Center variant overrides
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Feature Suggested reviewers: Merge Risk: ⚪ Minimal · up to This change documents and tests existing per-call parameter forwarding. No actionable merge-blocking risk remains. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning Some tools did not complete. Review the errors below. 🔧 ESLint
ESLint install failed: dependency version conflict. Check your lock file or package.json. 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 |
Summary
Adds support for forcing an Experiment Center variant via
experiment_id,variation_id, and optionalsegment_id.AuthorizationParameters.Fields come from
@auth0/auth0-spa-jsand are re-exported unchanged onAuthorizationParams./authorizethrough the existingauthorizationParamspass-through - no runtime logic changes needed.README.md/EXAMPLES.mddocs.Test plan
npm test— passes, 100% coverage heldloginWithRedirect(with and withoutsegment_id)README.md/EXAMPLES.mdrender correctlySummary by CodeRabbit
experiment_id,variation_id, and an optionalsegment_id.