Having Googled around on the topic of 12/15mm hub-fork compatibility, it seems there is no established standard governing the outer diameter of the hub end-cap for thru-axle forks.
When discussing one such adapter, Radhaus notes that:
Please note that the critical dimensions for compatibility are the inside diameter (ID) of the fork dropout pocket and the outside diameter (OD) of the hub end cap. In practice there are no standards in use for either dimension.
Meanwhile, Halo Wheels states that both forks and hubs can be designed for/with end-caps of between 19 mm or 21 mm outer diameter, which can lead to incompatibilities:
Some 12mm thru axle forks are only compatible with hubs which have end cones with a maximum outer diameter of 19mm. Several thru axle hubs have end cone outer diameters larger than 19mm (typically 21mm) and will not fit into the recessed area under the hub location lip.
To check the compatibility of your 12mm axle fork with any thru axle hub, measure distance ‘A’ in the diagram.
If ‘A’ is less than 4.5mm you can only use a hub that has a maximum outer diameter end cone size of 19mm. If ‘A’ is 4.5mm the fork should accept a hub using 21mm end cones.

I am happy to be contradicted if someone can find a more authoritative source than these!