Demo
See an example of Nuggets authentication within an MCP server.
How to Integrated Nuggets into My MCP Server
To get started, create an OIDC Application Client in the Nuggets Account Portal. Here you will receive:- A Client ID
- A private key for signing requests
- The ability to configure redirect URIs and verifications
- Generates an OIDC authentication request
- Displays a QR code in the chat UI
- Waits for the callback to receive the
id_token
- Verifies the token, extracts the claims, and authenticates the user in chat
- Strong identity based on Verifiable Credentials
- Seamless UX with QR-based login
- Custom claims in the token (like
did
,role
, or other verified attributes)
Make sure to securely store the private key.