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
422 stars 70 forks source link

feat(jans-fido): Persist FIDO token with `tknTyp=fido2` #5569

Open nynymike opened 11 months ago

nynymike commented 11 months ago

We need to persist in the AS data about the fido authentication event. It seems natural to use a token to do this. We can set tknTyp=fido2 to make it easy to filter these tokens.

image

Jans Auth Server cleans tokens automatically, but e also need an FIDO Server property : fido2_token_default_expiration_time which I would set to 5 minutes OOTB.

yuriyz commented 11 months ago

jansGrantTyp attribute is for grant types. Lets save type in tknTyp attribute. It corresponds to TokenType class. Add new FIDO2("fido2") entry to enum.