I'm creating an application integration with python flask and jira. I wanted to do authentication with oAuth 2.0 to authenticate my users with Jira. is there any full example for that?
I found an example which is incomplete: https://jira.readthedocs.io/en/master/examples.html#oauth
key_cert_data = None with open(key_cert, 'r') as key_cert_file: key_cert_data = key_cert_file.read() oauth_dict = { 'access_token': 'foo', 'access_token_secret': 'bar', 'consumer_key': 'jira-oauth-consumer', 'key_cert': key_cert_data } auth_jira = JIRA(oauth=oauth_dict)
But how can I generate key_cert_file, access_token, access_token_secret and consumer_key?
or is there any better way or version of this?
Hi @Maziar Sojoudian ,
Right now, JIRA does not have default support as an OAuth 2.0 Server/Provider but you can extend the JIRA's functionality to make it work as OAuth Server(OAuth 2.0) with our OAuth plugin. Please reach out to miniOrange at info@miniorange.com with your use case so that we can provide you with our plugin and integration steps.
Thanks,
Lokesh
Full disclosure: I work for the miniOrange.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!
Register todayOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.