[proposal]Support for authentication methods based on the W3C DID specification did:wba
#1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:did:wba
provides security equivalent to OAuth 2.0.did:wba
supports decentralized identity authentication, offering better interoperability.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
Checklist
Additional context
Relevant documentation links:
did:wba Method Design Specification
blogs: