Skip to content

Conversation

@3nethz
Copy link
Contributor

@3nethz 3nethz commented Apr 21, 2025

Purpose

Fixes an issue where the revokeAccessToken method does not include client_secret in the revocation request body, causing token revocation to fail for confidential clients with the error invalid_client. This change ensures the SDK supports both public and confidential clients by conditionally appending client_secret from the config if available.

Related Issues

Related PRs

  • N/A

Checklist

  • Manual test round performed and verified.
  • UX/UI review done on the final implementation.
  • Documentation provided. (Add links if there are any)
  • Unit tests provided. (Add links if there are any)

Security checks

@pavinduLakshan pavinduLakshan merged commit 8db1cbd into asgardeo:master Apr 21, 2025
2 checks passed
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.

revokeAccessToken method does not support confidential client authentication using client_secret

2 participants