JanssenProject / jans

An open source enterprise digital identity platform for CIAM or workforce... Janssen is a distribution of standards-based, developer friendly, components that are engineered to work together in any cloud. #OAuth #OpenID #FIDO
https://docs.jans.io
Apache License 2.0
426 stars 72 forks source link

feat: Track id_token acr and aud for reporting purposes #2783

Open nynymike opened 1 year ago

nynymike commented 1 year ago

It would be helpful if we could generate a report on acr usage. For example, how many OTP and SMS authentication happened this month v. last month. Likewise, knowing how many tokens were issued per RP has also been reflected.

yuriyz commented 1 year ago

id_token is reported here: https://github.com/JanssenProject/jans/blob/56a33c40a2bf58ebeb87c6f1724f60a836dc29d2/jans-auth-server/server/src/main/java/io/jans/as/server/service/stat/StatService.java#L267

So acr and aud can be placed at that method