Skip to content

Conversation

@clairekinde11
Copy link
Contributor

@clairekinde11 clairekinde11 commented Feb 3, 2025

New topic for adding Microsoft 365 connected app - specifically calendar for now
Updated reference in the master topic for Microsoft 365 connected app at step 2

Summary by CodeRabbit

  • Documentation
    • Introduced a new guide detailing the integration process between Kinde and Microsoft 365.
    • The document outlines prerequisites, registration steps, calendar permissions, and configuration instructions, complete with visual aids to assist users in setting up the connected app.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 3, 2025

Warning

Rate limit exceeded

@clairekinde11 has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 6 minutes and 36 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between 4ac081c and 46b7d0b.

📒 Files selected for processing (2)
  • src/content/docs/integrate/connected-apps/add-connected-apps.mdx (1 hunks)
  • src/content/docs/integrate/connected-apps/microsoft-365-connected-app.mdx (1 hunks)

Walkthrough

A new documentation page has been added to guide the integration of Kinde with Microsoft 365. The page details the prerequisites, including a Microsoft Azure account and a machine-to-machine application with an end-user. It provides a structured walkthrough for registering a Microsoft app, adding calendar scopes, generating a client secret, and finalizing the configuration in Kinde. The document also includes visual aids and warnings about the current scope validations.

Changes

File(s) Summary
src/content/docs/integrate/connected-apps/microsoft-365-connected-app.mdx Added new guide for integrating Kinde with Microsoft 365. Outlines steps for app registration, adding calendar scopes, generating a client secret, and completing configuration in Kinde.

Sequence Diagram(s)

sequenceDiagram
    participant U as User
    participant A as Microsoft Azure
    participant K as Kinde
    U->>A: Sign in & navigate to app registration
    A->>U: Display registration form
    U->>A: Enter app details & add calendar scopes
    A->>U: Generate client secret and set permissions
    U->>K: Update configuration with app info
    K->>U: Confirm connection established
Loading

Suggested reviewers

  • marcosmartini

Poem

I'm a joyful rabbit with a quick-hop beat,
Celebrating changes in our documentation suite.
From Azure's app sign-in to Kinde's final twist,
Each step is clear—nothing is missed!
Hopping through updates with whiskers so neat! 🐇✨


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Feb 3, 2025

Deploying kinde-docs-previews with  Cloudflare Pages  Cloudflare Pages

Latest commit: 46b7d0b
Status: ✅  Deploy successful!
Preview URL: https://21e5b926.kinde-docs-previews.pages.dev
Branch Preview URL: https://feat-microsoft365-connected.kinde-docs-previews.pages.dev

View logs

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (2)
src/content/docs/integrate/connected-apps/microsoft-365-connected-app.mdx (2)

25-38: Register a Microsoft App Section

The step-by-step instructions for registering a Microsoft app are well structured. A few stylistic improvements are suggested:

  • Line 30: The phrase “in the left side menu” should be changed to “on the left side menu” for better natural language usage.
  • Line 35: The sentence containing “your custom domain if you use one, otherwise this is your Kinde domain” can be rephrased for clarity. For example, using a semicolon or splitting into two sentences would improve readability.
  • Line 37: Adding a comma before “or” can smooth out the sentence structure.

Suggested diff:

-2. Navigate to **Entra ID**. You can do this from links on the main screen or in the left side menu.
+2. Navigate to **Entra ID**. You can do this from links on the main screen or on the left side menu.
-7. Enter the **Provider to Kinde callback URL** from the Kinde connected app. For example, `https://app.{yourdomain}/connected_apps/callback`. {yourdomain} is your custom domain if you use one, otherwise this is your Kinde domain.
+7. Enter the **Provider to Kinde callback URL** from the Kinde connected app. For example, `https://app.{yourdomain}/connected_apps/callback`. {yourdomain} is your custom domain if you use one; if not, use your Kinde domain.
-9. Copy the **Application (client) ID** and paste it in a text file or somewhere you can easily access it again. You’ll use this as the **Client ID** for the connected app in Kinde.
+9. Copy the **Application (client) ID**, and paste it in a text file or somewhere you can easily access it again. You’ll use this as the **Client ID** for the connected app in Kinde.
🧰 Tools
🪛 LanguageTool

[grammar] ~30-~30: In this case, the usual preposition with “side” is “on”, not “in”. Did you mean “on the left side”?
Context: ...o this from links on the main screen or in the left side menu. 3. Select **Add+ > App registrati...

(IN_ON_THE_RIGHT_HAND_SIDE)


[typographical] ~35-~35: The word “otherwise” is an adverb that can’t be used like a conjunction, and therefore needs to be separated from the sentence.
Context: ...omain} is your custom domain if you use one, otherwise this is your Kinde domain. 8. Select **...

(THUS_SENTENCE)


[uncategorized] ~37-~37: Use a comma before ‘or’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...client) ID** and paste it in a text file or somewhere you can easily access it agai...

(COMMA_COMPOUND_SENTENCE)


39-63: Add Calendar Scopes and Generate a Secret Section

This section is clearly divided into tasks with an informative warning block to indicate that only calendar scopes have been tested. The steps are methodical and easy to follow. A minor punctuation suggestion is noted for line 59:

  • Insert a comma before “or” in the instruction regarding copying the secret value to enhance clarity.

Suggested diff:

-3. Copy the value in the **Value** column and paste it in a text file or somewhere you can easily access it again. Make sure you copy from the **Value** column, not the **Secret ID** column.
+3. Copy the value in the **Value** column, and paste it in a text file or somewhere you can easily access it again. Make sure you copy from the **Value** column, not the **Secret ID** column.
🧰 Tools
🪛 LanguageTool

[uncategorized] ~59-~59: Use a comma before ‘or’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...lue** column and paste it in a text file or somewhere you can easily access it agai...

(COMMA_COMPOUND_SENTENCE)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 9e1ac27 and 378f860.

📒 Files selected for processing (1)
  • src/content/docs/integrate/connected-apps/microsoft-365-connected-app.mdx (1 hunks)
🧰 Additional context used
🪛 LanguageTool
src/content/docs/integrate/connected-apps/microsoft-365-connected-app.mdx

[grammar] ~30-~30: In this case, the usual preposition with “side” is “on”, not “in”. Did you mean “on the left side”?
Context: ...o this from links on the main screen or in the left side menu. 3. Select **Add+ > App registrati...

(IN_ON_THE_RIGHT_HAND_SIDE)


[typographical] ~35-~35: The word “otherwise” is an adverb that can’t be used like a conjunction, and therefore needs to be separated from the sentence.
Context: ...omain} is your custom domain if you use one, otherwise this is your Kinde domain. 8. Select **...

(THUS_SENTENCE)


[uncategorized] ~37-~37: Use a comma before ‘or’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...client) ID** and paste it in a text file or somewhere you can easily access it agai...

(COMMA_COMPOUND_SENTENCE)


[uncategorized] ~59-~59: Use a comma before ‘or’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...lue** column and paste it in a text file or somewhere you can easily access it agai...

(COMMA_COMPOUND_SENTENCE)

🔇 Additional comments (4)
src/content/docs/integrate/connected-apps/microsoft-365-connected-app.mdx (4)

1-11: Metadata Header Review

The YAML front matter is well formatted and properly includes the new page details such as page_id, title, sidebar.order, and relatedArticles. Ensure that the related article IDs are current and valid.


13-16: Introduction Section

The introductory lines clearly inform the reader about the new connection capability between Kinde and Microsoft 365. The messaging is direct and sets the context for the detailed steps that follow.


17-24: Prerequisites ("Before you begin") Section

The bullet-point list for prerequisites is clear, concise, and logically organized. Verifying that the linked documentation for the machine-to-machine application and end-user creation is up to date will ensure a smooth user experience.


64-68: Final Configuration Section

The final section concisely instructs users on the final steps needed to complete the connection in Kinde. The call-to-action linking to Step 3 of the connected app configuration is evident and direct.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (4)
src/content/docs/integrate/connected-apps/microsoft-365-connected-app.mdx (4)

29-30: Refine Navigation Instruction Preposition
In step 2 ("Navigate to Entra ID. You can do this from links on the main screen or in the left side menu."), consider changing "in the left side menu" to "on the left side menu" for improved clarity.

-... from links on the main screen or in the left side menu.
+... from links on the main screen or on the left side menu.
🧰 Tools
🪛 LanguageTool

[grammar] ~30-~30: In this case, the usual preposition with “side” is “on”, not “in”. Did you mean “on the left side”?
Context: ...o this from links on the main screen or in the left side menu. 3. Select **Add+ > App registrati...

(IN_ON_THE_RIGHT_HAND_SIDE)


35-35: Clarify Domain Selection Wording
In step 7, the sentence "… is your custom domain if you use one, otherwise this is your Kinde domain." could be rephrased for better clarity. For example, consider:

"… is your custom domain if available; otherwise, use your Kinde domain."

-<yourdomain> is your custom domain if you use one, otherwise this is your Kinde domain.
+<yourdomain> is your custom domain if available; otherwise, use your Kinde domain.
🧰 Tools
🪛 LanguageTool

[typographical] ~35-~35: The word “otherwise” is an adverb that can’t be used like a conjunction, and therefore needs to be separated from the sentence.
Context: ...omain> is your custom domain if you use one, otherwise this is your Kinde domain. 8. Select **...

(THUS_SENTENCE)


37-37: Punctuate for Readability in ID Copy Instruction
On line 37, adding a comma before "or" improves readability.

-Copy the **Application (client) ID** and paste it in a text file or somewhere you can easily access it again.
+Copy the **Application (client) ID**, and paste it in a text file or somewhere you can easily access it again.
🧰 Tools
🪛 LanguageTool

[uncategorized] ~37-~37: Use a comma before ‘or’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...client) ID** and paste it in a text file or somewhere you can easily access it agai...

(COMMA_COMPOUND_SENTENCE)


59-59: Improve Clarity in Secret Copy Instruction
On line 59, consider adding a comma before "or" for better clarity when instructing users to copy the value from the Value column.

-Copy the value in the **Value** column and paste it in a text file or somewhere you can easily access it again.
+Copy the value in the **Value** column, and paste it in a text file or somewhere you can easily access it again.
🧰 Tools
🪛 LanguageTool

[uncategorized] ~59-~59: Use a comma before ‘or’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...lue** column and paste it in a text file or somewhere you can easily access it agai...

(COMMA_COMPOUND_SENTENCE)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 378f860 and 4ac081c.

📒 Files selected for processing (1)
  • src/content/docs/integrate/connected-apps/microsoft-365-connected-app.mdx (1 hunks)
🧰 Additional context used
🪛 LanguageTool
src/content/docs/integrate/connected-apps/microsoft-365-connected-app.mdx

[grammar] ~30-~30: In this case, the usual preposition with “side” is “on”, not “in”. Did you mean “on the left side”?
Context: ...o this from links on the main screen or in the left side menu. 3. Select **Add+ > App registrati...

(IN_ON_THE_RIGHT_HAND_SIDE)


[typographical] ~35-~35: The word “otherwise” is an adverb that can’t be used like a conjunction, and therefore needs to be separated from the sentence.
Context: ...omain> is your custom domain if you use one, otherwise this is your Kinde domain. 8. Select **...

(THUS_SENTENCE)


[uncategorized] ~37-~37: Use a comma before ‘or’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...client) ID** and paste it in a text file or somewhere you can easily access it agai...

(COMMA_COMPOUND_SENTENCE)


[uncategorized] ~59-~59: Use a comma before ‘or’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...lue** column and paste it in a text file or somewhere you can easily access it agai...

(COMMA_COMPOUND_SENTENCE)

🔇 Additional comments (3)
src/content/docs/integrate/connected-apps/microsoft-365-connected-app.mdx (3)

1-11: YAML Front Matter is Well Structured
The metadata including the page ID, title, sidebar order, and related articles is clearly defined and follows the expected YAML format.


13-24: Clear Introduction & Prerequisites Section
The introduction and "Before you begin" section succinctly state the purpose of the page and clearly list the prerequisites. This sets the right context for users looking to integrate Microsoft 365 with Kinde.


64-68: Final Connection Configuration Section is Clear
The final instructions for configuring the connection in Kinde are concise and direct, clearly listing the required items such as the Client ID, Secret, and callback URL.

@clairekinde11 clairekinde11 merged commit 8b5e506 into main Feb 3, 2025
5 checks passed
@clairekinde11 clairekinde11 deleted the Feat/Microsoft365-connected-app branch February 3, 2025 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants