Skip to content

feat(oxauth): add property that allows to specify the days left at which to warn about keys expiration #294

@yuriyz

Description

@yuriyz

Describe the issue

feat(oxauth): add property that allows to specify the days left at which to warn about keys expiration

Support: 221

Goal is to reduce logs like this:

2025-08-26T17:41:37.736235352Z stdout F oxauth - 2025-08-26 17:41:37,736 WARN [qtp1414013111-15] [org.gluu.oxauth.model.crypto.AbstractCryptoProvider] (AbstractCryptoProvider.java:211) -
2025-08-26T17:41:37.736239699Z stdout F WARNING! Key with alias: cdc333e1-f644-45e2-912b-0b33822ccff1_sig_rs256
2025-08-26T17:41:37.736241039Z stdout F Expires In: 17 days
2025-08-26T17:41:37.736242254Z stdout F Expires On: 2025-09-13 13:00:16
2025-08-26T17:41:37.736243454Z stdout F Today's Date: 2025-08-26 17:41:37

Prod environments can get huge amount of such logs. Configuration property will allow to specify number of days before logging it.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions