Skip to content

Conversation

@ctriant
Copy link
Contributor

@ctriant ctriant commented Feb 2, 2023

The following behavior was identified and resolved:

  • Generate an access-token with Client-A. The token has aud: [client-a]
  • Introspect the access-token with Client-B.
  • Response is active: true, plus information about the token.

The expectation was to get active: false because the token was not intended to be used by Client-B.

With these changes the introspection endpoint will

  • check the audience before returning a reply
  • will return active: false if the token is sent by a client that is not within the audience of the token

Signed-off-by: Kostis Triantafyllakis <ctriant@admin.grnet.gr>
@ctriant ctriant marked this pull request as ready for review February 8, 2023 10:41
@rohe rohe merged commit 6ce2cc0 into IdentityPython:develop Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants