100% Silicone, duck tape to support, let dry 24 hrs.
Plumbers epoxy putty. Small ball as big as needed, smash firmly in place, trim excess off.
I've used both techniques on grab bars and shower rods against tile. Also, corner units for shampoo etc.
2016 Toyota Tundra SR5, 5.7 V8