Skip to content
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

[proposal]Support for authentication methods based on the W3C DID specification did:wba #1

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

chgaowei
Copy link

Based on your changes, I added an experimental authentication method. I hope you can help me review it.
There’s no need to merge it into your branch for now. Once your branch is merged, I will submit a PR. Thanks!

Motivation and Context

We have added an experimental authentication scheme, did:wba, to MCP.

We believe did:wba can serve as an excellent complement to OAuth 2.0 for the following reasons:

  1. did:wba provides security equivalent to OAuth 2.0.
  2. did:wba supports decentralized identity authentication, offering better interoperability.
  3. did:wba requires fewer interactions and has a simpler process.

The changes in this code are based on a branch that has not yet been merged into the main branch (PR link: modelcontextprotocol#101). We will update our code accordingly if there are any changes to this branch.

How Has This Been Tested?

This proposal has not yet been implemented in a client/server.

Breaking Changes

Users do not need to update their code or configuration. As an experimental scheme, the server or client can choose not to support it.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

Relevant documentation links:

  1. did:wba Method Design Specification

  2. blogs:

@k6l3
Copy link
Owner

k6l3 commented Dec 31, 2024

@chgaowei Thanks! I'll push to get this PR landed soon, appreciate your proposal here.

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