We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b64e24b commit 050afa8Copy full SHA for 050afa8
1 file changed
src/main/java/com/uid2/operator/model/KeyManager.java
@@ -126,7 +126,10 @@ public KeysetKey getRefreshKey() {
126
}
127
128
public KeysetKey getRefreshKey(Instant asOf) {
129
- KeysetKey key = this.keysetKeyStore.getSnapshot().getActiveKey(Const.Data.RefreshKeysetId, asOf);
+ // TEMPORARY: Simulate keyset key unavailability to reproduce Univision issue
130
+ KeysetKey key = null; // Force key to be null to trigger exception
131
+
132
+ // KeysetKey key = this.keysetKeyStore.getSnapshot().getActiveKey(Const.Data.RefreshKeysetId, asOf);
133
if (key == null) {
134
if (keyAvailabilityHandler != null) keyAvailabilityHandler.accept(false);
135
throw new NoActiveKeyException(String.format("Cannot get a refresh key with keyset ID %d.", Const.Data.RefreshKeysetId));
0 commit comments