POSTing password from view.html.erb form to external application not working

As the title says, I’m trying to get OOD to properly POST a password to the reverse proxy FRP, but running into issues. FRP is using http basic auth to allow logins, but OOD isn’t passing through the username and password. Currently the view.html.erb looks like this:

<form action="http://<%= ip %>:<%= outport %>" method="post" target="_blank">
  <input type="hidden" name="Username" value="<%= username %>">
  <input type="hidden" name="Password" value="<%= password %>">
  <button class="btn btn-primary" type="submit">
    <i class="fa fa-eye"></i> Connect 
  </button>
</form>

Any help getting it working would be appreciated!

“Basic Authentication” is defined in an RFC as passing the credentials in a header. Seems like you need some javascript to set a header.

Here are some MDN docs for the same: