Mercurial > code > home > repos > front-door-lock
changeset 9:6e0d47f9e56d
pom issuer change
author | drewp@bigasterisk.com |
---|---|
date | Mon, 04 Dec 2023 13:51:30 -0800 |
parents | caea36c8289f |
children | 7de586bf19ff |
files | get_agent.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/get_agent.py Thu Nov 30 22:43:58 2023 -0800 +++ b/get_agent.py Mon Dec 04 13:51:30 2023 -0800 @@ -72,7 +72,7 @@ jwt.validate( jwkset['keys'][0], #?? algs=['ES256'], - issuer='authenticate2.bigasterisk.com', + issuer='bigasterisk.com', audience='bigasterisk.com') claims: Dict[str, Any] = jwt.claims log.debug('claims=%r', claims) @@ -89,7 +89,7 @@ async def getFoafAgent(req) -> URIRef | None: - """this is special because fingerprint needs to be able to send + """this is special because fingerprint needs to be able to send x-foaf-agent AND we need to get agents the normal way from pomerium""" if 'X-Pomerium-Jwt-Assertion' in req.headers: