We would like to run the Rest API using Oauth 2.0 authentication for Jira On Prem version.
Please provide the steps to obtain the token and how to use that token in the rest APi?