Reintroduce SAML SSO#4938
Conversation
…nto boxyhq-saml-sso
|
@devkiran is attempting to deploy a commit to the cal Team on Vercel. A member of the Team first needs to authorize it. |
Socket Security Report👍 No new dependency issues detected in pull request Socket.dev scan summary
Bot CommandsTo ignore an alert, reply with a comment starting with Powered by socket.dev |
Head branch was pushed to by a user without write access
…nto boxyhq-saml-sso
…nto feat/saml-sso
Self-hostedAdded the "Single Sign-On" menu under the tab HostedAdded the "Single Sign-On" menu under each team. I have considered the following cases during the implementation into the team. Please let me know if I have covered every case. This menu is only visible on the hosted version and will redirect to |
| }; | ||
| }; | ||
|
|
||
| export const canAccess = async ( |
There was a problem hiding this comment.
This method has been altered to send back appropriate messages in each case. This message will be displayed on the UI when TRPC throws an error https://github.com/calcom/cal.com/pull/4938/files#diff-015067416d87bbb0a3405527c31019007de06a40b377883a98b6e32623c2d0e5R25
|
hey @devkiran, thank you for the update. would you mind fixing the last merge conflict and we'll then review & merge 🙏 |
# Conflicts: # apps/web/pages/settings/security/sso.tsx # apps/web/pages/settings/teams/[id]/sso.tsx # apps/web/pages/v2/auth/login.tsx # apps/web/public/static/locales/en/common.json # yarn.lock
zomars
left a comment
There was a problem hiding this comment.
Simplified api endpoints and made some file organization fixes. Code LGTM testing on staging.
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
@zomars thanks for helping me out with the merge and conflict. |
* wip reintroduce SAML SSO * Fix the imports * wip * Some tweaks * Fix the type * Reduce the textarea height * Cleanup * Fix the access issues * Make the SAML SSO active on the sidebar * Add SP's instructions * Remove the console.log * Add the condition to check SAML SSO is enabled * Replace SAML SSO with Single Sign-On * Update to SAML feature * Upgrade the @boxyhq/saml-jackson * Fix the SAML part and other cleanup * Tweaks to SAML SSO setup * Fix the type * Fix the import path * Remove samlLoginUrl * Import fixes * Simplifies endpoints Co-authored-by: zomars <zomars@me.com>
* wip reintroduce SAML SSO * Fix the imports * wip * Some tweaks * Fix the type * Reduce the textarea height * Cleanup * Fix the access issues * Make the SAML SSO active on the sidebar * Add SP's instructions * Remove the console.log * Add the condition to check SAML SSO is enabled * Replace SAML SSO with Single Sign-On * Update to SAML feature * Upgrade the @boxyhq/saml-jackson * Fix the SAML part and other cleanup * Tweaks to SAML SSO setup * Fix the type * Fix the import path * Remove samlLoginUrl * Import fixes * Simplifies endpoints Co-authored-by: zomars <zomars@me.com>
What does this PR do?
Fixes #4880
Environment: Staging(main branch) / Production
Type of change