Require User

Loading "Require User Adoka"
πŸ‘¨β€πŸ’Ό Now that we have the client authenticated with the token, let's make a utility to get the user and also provide tools and resources to retrieve the user data.
πŸ§β€β™€οΈ I created a resource and a tool for you, all you need to do is implement the requireUser utility then use that in the tool and resource. Feel free to check out my changes if you want.
πŸ‘¨β€πŸ’Ό Great! Ok, so the goal is to make user data accessible throughout our MCP server while maintaining security and providing a seamless, personalized experience for every journaling session.
Now, implement the requireUser utility so our tools and resources can provide users with their personalized journaling experience.

Please set the playground first

Loading "Require User"
Loading "Require User"

Access Denied

You must login or register for the workshop to view and run the tests.

Check out this video to see how the test tab works.