New Input system gamepad not working in web gl

I have a xbox controller and its not working at all in webgl, but the keyboard and mouse works fine. Game controller works fine too in window platform build. I have my player setting set to both using new and old input system. I even have my Web gl gamepad standard mapping setup. Using latest LTS version of unity. Tested on firefox and google chrome. I have a warning that said I need permission to use gamepad. Anyone know how to fix?

Still having problems even with the latest version and even unity controller starter kit asset

Test your gamepad on this site https://gamepadtest.com/ while using the recent most chrome version and check if detects your gamepad at first, if it doesn’t detect your controller you can also try pressing the buttons to trigger the event by forcing it to work. if it works fine and maps all key functionalities there might be a support issue for your Xbox controller.
May be you should consider using other controller to check if it works for you.

upvote, seeing same problem in a build I just made

Same problem.
More precisely, it doesn’t work quite correctly on PC. In my case, the left stick doesn’t respond to Up/Down. And the stick on the UI doesn’t work when using the On-Screen Stick and specifying the Gamepad stick.