-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: outlook 365 calendar endpoints #15077
feat: outlook 365 calendar endpoints #15077
Conversation
…s and redirect url for office 365 calendar
Thank you for following the naming conventions! 🙏 Feel free to join our discord and post your PR link. |
🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎ To accept the risk, merge this PR and you will not be notified again.
Next stepsWhat is an install script?Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts. Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead. Take a deeper look at the dependencyTake a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev. Remove the packageIf you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency. Mark a package as acceptable riskTo ignore an alert, reply with a comment starting with
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 3 Ignored Deployments
|
Graphite Automations"Add platform team as reviewer" took an action on this PR • (05/16/24)1 reviewer was added to this PR based on Keith Williams's automation. |
📦 Next.js Bundle Analysis for @calcom/webThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
Current Playwright Test Results Summary✅ 42 Passing - ❌ 1 Failing - Run may still be in progress, this comment will be updated as current testing workflow or job completes... (Last updated on 05/17/2024 08:47:50pm UTC) Run DetailsRunning Workflow PR Update on Github Actions Commit: ddcdddb Started: 05/17/2024 08:46:42pm UTC ❌ Failures📄 apps/web/playwright/teams.e2e.ts • 1 FailureTest Case Results
|
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Signup Flow Test Email verification sent if enabled
Retry 1 • Initial Attempt |
1.13% (3)3 / 266 runsfailed over last 7 days |
24.44% (65)65 / 266 runsflaked over last 7 days |
const origin = req.get("origin") ?? req.get("host"); | ||
const redirectUrl = await await this.getCalendarRedirectUrl(accessToken, origin ?? ""); | ||
|
||
return { status: "SUCCESS", data: { authUrl: redirectUrl } }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{ status: SUCCESS_STATUS, data: { authUrl: redirectUrl } };
const origin = req.get("origin") ?? req.get("host"); | ||
const redirectUrl = await await this.getCalendarRedirectUrl(accessToken, origin ?? ""); | ||
|
||
return { status: "SUCCESS", data: { authUrl: redirectUrl } }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SUCCESS_STATUS
What does this PR do?
This PR adds the endpoints for the microsoft outlook calendar. The frontend can be done in a follow PR once the endpoints are merged. Also added some e2e tests for case where access token or origin might be invalid and also when all the credentials are good