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.
Want to make your everyday Community actions directly contribute to reforestation? The Atlassian Community can achieve this goal by liking a post, attending an ACE, sending your peers kudos, and so much more!
Help us plant more trees
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.