Collider does not flip with sprite

When I want to move my player to the left I just flip the sprite on the x axis. However when I do this the collider attached to my sprite doesn’t flip with my sprite. This leaves my collider offset to my player whenever the player is facing to the left. Is there a way for the collider to flip with the sprite?

This happens because flipping X only works for the Sprite Renderer. The Collider, Transform or anything else has nothing to do with that and will always stay in the same position unless you change its position via method.

Easiest way to fix this in my opinion is to have two Collider Offsets defined in the Script, when you flip the sprite renderer X also change the collider offset.
You can also enable/disable the Left/Right collider when receiving a movement input.