this is behind an ifdef that we do not plan to use right now, if we will ever enable it we will migrate to getByToken and make it configurable