You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nirajacharya2
changed the title
can't delete auth-app token
can't delete auth-app token using the token received from auth-app create request
Jan 15, 2025
After talking with @2403905, found out that the token creation request returns the actual token and the list request return the id of that token. And the actual token is only available in the creation response (after that we cannot request the token value in any way). This is by design.
So that means, we have to use token-id from list request to delete the token. And the current behavior is correct
Describe the bug
Can't delete auth-app token using the token received from create request but deleting with the token that we get when listing works.
Steps to reproduce
1.create auth-token
curl -kv -XDELETE "https://localhost:9200/auth-app/tokens?token=f8qn1azv53d946l0" -uadmin:admin
Expected behavior
the auth token should be deleted
Actual behavior
the auth token is not deleted
Setup
Additional context
Under the example for deleting a token the shorter token is used.
The text was updated successfully, but these errors were encountered: