Conversation
SSO uses a different URL structure (/api/apps/{appId}/auth/sso/login) compared to other providers. Refactored URL construction to share query params and assemble the final URL from a common prefix/suffix.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Claude finished @roymiloh's task —— View job Code ReviewI've reviewed the pull request that adds SSO as a supported auth provider. Here's my feedback: ✅ Code Quality and Best PracticesStrengths:
Suggestions:
✅ Implementation LogicThe implementation correctly:
|
🚀 Package Preview Available!Install this PR's preview build with npm: npm i @base44-preview/sdk@0.8.19-pr.133.511000ePrefer not to change any import paths? Install using npm alias so your code still imports npm i "@base44/sdk@npm:@base44-preview/sdk@0.8.19-pr.133.511000e"Or add it to your {
"dependencies": {
"@base44/sdk": "npm:@base44-preview/sdk@0.8.19-pr.133.511000e"
}
}
Preview published to npm registry — try new features instantly! |
Summary
'sso'as a supported provider inloginWithProvider/api/apps/{appId}/auth/sso/loginauth.types.tsto document SSO and add a usage exampleTest plan
loginWithProvider('sso', '/dashboard')and verify redirect goes to/api/apps/{appId}/auth/sso/login?app_id=...&from_url=...🤖 Generated with Claude Code