kong icon indicating copy to clipboard operation
kong copied to clipboard

add ability to enable / disable consumer credentials without deleting them

Open ahmadnassri opened this issue 11 years ago • 6 comments

scenario:

  • I want to disable certain consumers from using certain credentials temporarily without changing their keys.

expectation:

  • I can change enabled flag on a credentials object (in oauth2 or other authentication plugins)

ahmadnassri avatar Jul 30 '15 23:07 ahmadnassri

cc: @lucamaraschi

ahmadnassri avatar Jul 30 '15 23:07 ahmadnassri

+1 or at least the ability to delete a key. If a key is compromised there are no options to invalidate the compromised key and issue a new one. is there?

b6t avatar Jul 15 '16 18:07 b6t

@coreybeaumont yes, you can execute an HTTP DELETE request to that key.

subnetmarco avatar Jul 15 '16 19:07 subnetmarco

@thefosk thanks - the structure of the url was not initially apparent to successfully delete. Anyways, active | inactive would still be a great help.

b6t avatar Jul 15 '16 20:07 b6t

I would like this too. I would do the following:

  1. user signs up with email address and password
  2. create consumer and basic auth credentials where username=email address, password=password and disabled=true
  3. send email address verification email to user
  4. user can't login with basic auth credentials
  5. user clicks link in verification email
  6. patch basic auth credential disabled=false

This allows me to store the password while the email address verification is in progress.

rzschech avatar Aug 18 '17 15:08 rzschech

+1

parajanoff avatar Apr 02 '18 15:04 parajanoff