Error Snippet:

ARTIFACTORY: How to resolve http 400 error when revoking identity/Access token

AuthorFullName__c
Pranav Hegde
articleNumber
000005438
ft:sourceType
Salesforce
FirstPublishedDate
2022-10-20T11:53:30Z
lastModifiedDate
2022-10-20
VersionNumber
3
2022-09-26T07:01:31.032Z [jffe ] [ERROR] [6e1ab52bb66a00b9] [               ] [main        ] - Error: Access couldn't revoke session token by user context, Error : [Request failed with status code 400]


In the access config file, if the 'revocable-expiry-threshold' is set to '-1', it makes all tokens with expiry non-revocable (by default all tokens have an expiry of 1 year), and since it is not revocable, you would receive 400 response.

If you have the below snippet in the access config file, you need to remove this block or alter the value of revocable-expiry-threshold to resolve the reported issue.
token:
  revocation:
    revocable-expiry-threshold: -1