-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
fix: Add refresh_token
placeholder when parsing refresh token responses
#11862
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
2 Ignored Deployments
|
Thank you for following the naming conventions! 🙏 Feel free to join our discord and post your PR link to collect XP and win prizes! |
📦 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✅ 162 Passing - Run may still be in progress, this comment will be updated as current testing workflow or job completes... (Last updated on 10/17/2023 11:26:35am UTC) Run DetailsRunning Workflow PR Update on Github Actions Commit: 815ba85 Started: 10/17/2023 11:24:01am UTC
|
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
2FA Tests should allow a user to enable 2FA and login using 2FA
Retry 1 • Initial Attempt |
1.72% (5)5 / 291 runsfailed over last 7 days |
31.27% (91)91 / 291 runsflaked over last 7 days |
📄 packages/embeds/embed-core/playwright/tests/action-based.e2e.ts • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Popup Tests should be able to reschedule
Retry 1 • Initial Attempt |
9.09% (28)28 / 308 runsfailed over last 7 days |
89.29% (275)275 / 308 runsflaked over last 7 days |
📄 packages/embeds/embed-core/playwright/tests/inline.e2e.ts • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Inline Iframe Inline Iframe - Configured with Dark Theme
Retry 1 • Initial Attempt |
3.59% (11)11 / 306 runsfailed over last 7 days |
13.07% (40)40 / 306 runsflaked over last 7 days |
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.
Approving. But will leave some things that need to be addressed in a follow up.
This "feels" like constantly patching. We should strive to achieve syncing without having to fiddle with credentials. Avoid introducing more edge cases to be aware of.
If this is absolutely necessary. Then we need tests. Undoubtedly.
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.
LGTM
What does this PR do?
When fetching new access tokens from OAuth apps not every response included a new refresh token. As a part of credential syncing a refresh token placeholder was added assuming that normal access token responses would already contain a refresh token. This PR only adds the placeholder if credential syncing is enabled.
This issue was first noticed in Outlook but should apply to other apps.
Fixes # (issue)
Requirement/Documentation
Type of change
How should this be tested?
Mandatory Tasks
Checklist