mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-16 18:08:09 +00:00
change value of test token for clarity
This commit is contained in:
parent
d01d3d998b
commit
a996ce2af2
1 changed files with 2 additions and 2 deletions
|
@ -349,7 +349,7 @@ async def mock_auth_jwks_response(*args, **kwargs):
|
|||
if "headers" not in kwargs or "Authorization" not in kwargs["headers"]:
|
||||
return MockResponse(401, {})
|
||||
authz = kwargs["headers"]["Authorization"]
|
||||
if authz != "Bearer abcdefg":
|
||||
if authz != "Bearer my-jwks-token":
|
||||
return MockResponse(401, {})
|
||||
return await mock_jwks_response(args, kwargs)
|
||||
|
||||
|
@ -363,7 +363,7 @@ def oauth2_app_with_jwks_token():
|
|||
"jwks": {
|
||||
"uri": "http://mock-authz-service/token/introspect",
|
||||
"key_recheck_period": "3600",
|
||||
"token": "abcdefg",
|
||||
"token": "my-jwks-token",
|
||||
},
|
||||
"audience": "llama-stack",
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue