Skip to content

Commit 60151ff

Browse files
committed
Disable TDEI token audience verification
1 parent 92f9e16 commit 60151ff

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

api/core/security.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,8 @@ async def _validate_token_uncached(
163163
token,
164164
key=signing_key.key,
165165
algorithms=["RS256"],
166+
# OIDC server does not currently differentiate tokens by audience
167+
options={"verify_aud": False}
166168
)
167169
payload = jwtDecoded.get("payload", {})
168170

0 commit comments

Comments
 (0)