'How to integrate Bitbucket Server login in Rails application

In our Ruby on Rails 6 Application, I want to integrate the Bitbucket Server login (login with bitbucket(cloud) is different from bitbucket server).

We have login with Bitbucket, which works for Bitbucket cloud users but not for Bitbucket server users. I also searched over internet but I didn't found any reference or documentation for the same.

Can anyone help me on this, maybe some reference or any idea

Thanks



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source