Add Invitation Code Support to Ruby SDK#71
Add Invitation Code Support to Ruby SDK#71KeeganBeuthin wants to merge 1 commit intokinde-oss:mainfrom
Conversation
WalkthroughThis PR introduces optional invitation_code support to the authentication flow. The controller validates and conditions the invitation_code parameter before passing it to the SDK, which normalizes it by stripping whitespace and setting an is_invitation flag. Tests verify correct handling of various scenarios including empty, whitespace-only, and trimmed codes. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (4)
💤 Files with no reviewable changes (1)
🧰 Additional context used🧠 Learnings (2)📓 Common learnings📚 Learning: 2025-03-17T05:02:07.199ZApplied to files:
🧬 Code graph analysis (2)app/controllers/kinde_sdk/auth_controller.rb (1)
spec/kinde_sdk_spec.rb (2)
🔇 Additional comments (3)
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 |
|
@KeeganBeuthin Could you resolve the conflict? everything else looks good to me. |
Changes
Files Changed