LocalIdProvider#getTokenAttributesFromRequest could return empty Optional when accountId is null

Description

Due to invalid/expired data this statement can return null:

The subsequent call to AccountAdmin can be skipped as a <null> accountId doesn't make sense.

As with other error situations an empty Optional can be returned instead, when the accountId is null.

Assignee

Unassigned

Reporter

Markus Rechtien