-
Notifications
You must be signed in to change notification settings - Fork 25.4k
Closed
Labels
:Security/AuthenticationLogging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc)Logging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc)>bug
Description
The TokenService attempts to inform the caller whether a token invalidation was "created". "created":true
is intended to imply that the token was previously valid but is now invalid. false
indicates that token was already invalid.
However, this doesn't work, and the API already returns true
.
There's 2 issues:
- The UpdateRequest never requests the source, so
updateResponse.getGetResult()
is alwaysnull
. - Even if we did, the
GetResult
is the updated source, not the original source, soinvalidated
will always betrue
(because we just set it).
Metadata
Metadata
Assignees
Labels
:Security/AuthenticationLogging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc)Logging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc)>bug