Skip to content

Commit dcd9c1e

Browse files
authored
Lengthen the demo signing keys in the identity-assertion examples (#3180)
1 parent f599cdf commit dcd9c1e

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs_src/identity_assertion/tutorial001.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from mcp.client.streamable_http import streamable_http_client
1010
from mcp.shared.auth import OAuthClientInformationFull, OAuthToken
1111

12-
IDP_SIGNING_KEY = "the-enterprise-idp-signing-key"
12+
IDP_SIGNING_KEY = "the-enterprise-idp-signing-key-for-this-demo"
1313

1414

1515
class InMemoryTokenStorage:

docs_src/identity_assertion/tutorial002.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
ISSUER = "https://auth.example.com/"
2222
MCP_SERVER = "http://localhost:8001/mcp"
2323
IDP_ISSUER = "https://idp.example.com"
24-
IDP_SIGNING_KEY = "the-enterprise-idp-signing-key"
24+
IDP_SIGNING_KEY = "the-enterprise-idp-signing-key-for-this-demo"
2525

2626
REGISTERED_CLIENTS = {
2727
"finance-agent": OAuthClientInformationFull(

examples/stories/identity_assertion/idp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
IDP_ISSUER = "https://idp.example.com"
1515
# Demo only: a real IdP signs with its private key and the authorization server verifies the
1616
# signature against the IdP's published JWKS. A shared HMAC secret keeps this story self-contained.
17-
IDP_SIGNING_KEY = "demo-idp-signing-key"
17+
IDP_SIGNING_KEY = "the-demo-idp-signing-key-for-this-story"
1818

1919

2020
def issue_id_jag(*, subject: str, client_id: str, audience: str, resource: str, scope: str) -> str:

0 commit comments

Comments
 (0)