Skip to content

feat: Add Microsoft authentication#460

Open
harshithsudarsan wants to merge 1 commit into
parse-community:mainfrom
harshithsudarsan:microsoft-authentication
Open

feat: Add Microsoft authentication#460
harshithsudarsan wants to merge 1 commit into
parse-community:mainfrom
harshithsudarsan:microsoft-authentication

Conversation

@harshithsudarsan

Copy link
Copy Markdown

Summary

  • Add a ParseMicrosoft third-party auth adapter using the microsoft auth type.
  • Support secure Microsoft auth data with code and redirect_uri, plus the legacy id and access_token shape for existing Parse Server compatibility.
  • Add callback, async/await, and Combine APIs with matching unit test coverage.

Testing

  • env CLANG_MODULE_CACHE_PATH=build/module-cache swift build
  • env CLANG_MODULE_CACHE_PATH=build/module-cache swift test --filter ParseMicrosoft (blocked locally: this Command Line Tools-only environment cannot import XCTest; all test files fail before execution with no such module XCTest)

Closes #55

@parse-github-assistant

Copy link
Copy Markdown

🚀 Thanks for opening this pull request! We appreciate your effort in improving the project. Please let us know once your pull request is ready for review.

Tip

  • Keep pull requests small. Large PRs will be rejected. Break complex features into smaller, incremental PRs.
  • Use Test Driven Development. Write failing tests before implementing functionality. Ensure tests pass.
  • Group code into logical blocks. Add a short comment before each block to explain its purpose.
  • We offer conceptual guidance. Coding is up to you. PRs must be merge-ready for human review.
  • Our review focuses on concept, not quality. PRs with code issues will be rejected. Use an AI agent.
  • Human review time is precious. Avoid review ping-pong. Inspect and test your AI-generated code.

Note

Please respond to review comments from AI agents just like you would to comments from a human reviewer. Let the reviewer resolve their own comments, unless they have reviewed and accepted your commit, or agreed with your explanation for why the feedback was incorrect.

Caution

Pull requests must be written using an AI agent with human supervision. Pull requests written entirely by a human will likely be rejected, because of lower code quality, higher review effort and the higher risk of introducing bugs. Please note that AI review comments on this pull request alone do not satisfy this requirement. Our CI and AI review are safeguards, not development tools. If many issues are flagged, rethink your development approach. Invest more effort in planning and design rather than using review cycles to fix low-quality code.

@coderabbitai

coderabbitai Bot commented May 10, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@harshithsudarsan has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 48 minutes and 25 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ 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.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: f1d9e1fd-84f2-4ef9-b0eb-97a8d1b48654

📥 Commits

Reviewing files that changed from the base of the PR and between 645180e and c78f3d1.

📒 Files selected for processing (6)
  • Sources/ParseSwift/Authentication/3rd Party/ParseMicrosoft/ParseMicrosoft+async.swift
  • Sources/ParseSwift/Authentication/3rd Party/ParseMicrosoft/ParseMicrosoft+combine.swift
  • Sources/ParseSwift/Authentication/3rd Party/ParseMicrosoft/ParseMicrosoft.swift
  • Tests/ParseSwiftTests/ParseMicrosoftAsyncTests.swift
  • Tests/ParseSwiftTests/ParseMicrosoftCombineTests.swift
  • Tests/ParseSwiftTests/ParseMicrosoftTests.swift
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

Adding Support for more 3rd Party Authentication SDK's

1 participant