title: How to integrate Bitbucket Server login in Rails application
body: <p>In our Ruby on Rails 6 Application, I want to integrate the Bitbucket Server login (<em>login with bitbucket(cloud) is different from bitbucket server</em>).</p>
  <p>We have <code>login with Bitbucket</code>, which works for <strong>Bitbucket cloud</strong> users but not for <strong>Bitbucket server</strong> users.
  I also searched over internet but I didn't found any reference or documentation for the same.</p>
  <p>Can anyone help me on this, maybe some reference or any idea</p>
  <p>Thanks</p>