Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Idea: Client secret usage statistics #3294

Open
yuriyostapenko opened this issue Oct 11, 2016 · 1 comment
Open

Idea: Client secret usage statistics #3294

yuriyostapenko opened this issue Oct 11, 2016 · 1 comment

Comments

@yuriyostapenko
Copy link
Contributor

yuriyostapenko commented Oct 11, 2016

Just got this idea and wanted to check what you guys think:

I'd like to be able to see dead/unused clients/secrets in my client admin UI.

What if we added a very much optional string Id field to an IdSvr's Secret and a service interface that would be called with that Id from, say, the SecretValidator. Then I could know when my secret was used for authentication by a client and could mark the lastUsedDate on it.

Seems a trivial change and I'm ready to PR it to both v3 and v4 :)
But what do you think?

UPDATE: The notification could probably go through IEventService with a special event payload type

@leastprivilege leastprivilege self-assigned this Oct 14, 2016
@leastprivilege leastprivilege added this to the 2.6 milestone Nov 3, 2016
@leastprivilege
Copy link
Member

Sorry - way to busy right now - we will discuss ASAP.

@brockallen brockallen modified the milestones: 3.0, 2.6 Jan 15, 2017
@leastprivilege leastprivilege removed their assignment Oct 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants