I was trying to follow https://developer.atlassian.com/server/jira/platform/oauth/ to create a Python program to access the REST API, but I realise this is for Server rather than Datacenter which is what we have (the name "server" is a bit confusing!).
I can't seem to find any documentation for OAuth2 to access the REST API for Datacenter. The example Python scripts linked off that oauth page are ancient (Python 2 and Oauth 1.0a) where I'm using Python 3.8 and want to use OAuth 2.
For example (ourserver replaces our actual server name):
http://ourserver/jira/plugins/servlet/oauth/request-token
Doesn't exist
Neither does
http://ourserver/rest/oauth2/latest/authorize
They both give a skull image and 404 message.
Can anyone point me to the correct documentation for this please, or let me know the correct URLs for this?
Many thanks :-)