[Server] Oauth2 based on middleware#221
[Server] Oauth2 based on middleware#221sveneld wants to merge 12 commits intomodelcontextprotocol:mainfrom
Conversation
|
Thanks @sveneld - it will take some time for me to give some proper feedback here, just to let you know - needs quite some focus & attention - still really appreciated! |
chr-hertel
left a comment
There was a problem hiding this comment.
Hi again @sveneld! This is great already - went to a first round of very detailed review directly. Thanks again for working on this! 🙏
Didn't manage to go through all, but dropping the first round of comments.
|
|
||
| 5. **Use with MCP Inspector:** | ||
|
|
||
| The MCP Inspector doesn't support OAuth out of the box, but you can test using curl or build a custom client. |
|
@chr-hertel I updated pull request |
|
Can you please rebase this now when the Middleware Handler is merged? |
84ad698 to
9d801c9
Compare
Signed-off-by: Volodymyr Panivko <sveneld300@gmail.com>
9d801c9 to
eb2a422
Compare
Done. |
Nyholm
left a comment
There was a problem hiding this comment.
Great. Looks good.
I only have small things to comment at. I have not tested it out.
tests/Unit/Server/Transport/Middleware/AuthorizationMiddlewareTest.php
Outdated
Show resolved
Hide resolved
|
I have updated the pull request, but I am not satisfied with the result. I need more time to rethink the flow and improve the implementation. |
|
@sveneld anything in particular you would need feedback here? |
|
Thank you, no feedback needed. |
|
@chr-hertel take a look. |
…nversion Signed-off-by: Volodymyr Panivko <sveneld300@gmail.com>
@sveneld will do so this weekend - thanks! 👍 |

Motivation and Context
Implementation of OAuth based on middlewares from #218
How Has This Been Tested?
Breaking Changes
Types of changes
Checklist
Additional context
Fix #214