![]() ![]() Unfortunately I still don't see the issues on my Jira when I do API calls but I hope this helps you get closer to solving your problem. Turning off "Generate Authorization Header" helped for my API calls to not return 401 during my tests. Provider in my Named credential and made sure to keep Scope empty so it would use the default scope in the Auth Provider. My default scopes were: read:jira-work manage:jira-project manage:jira-configuration read:jira-user write:jira-work manage:jira-data-provide offline_accessĪlso I made sure that the callback url in my Jira app was the same callback url in the Auth. The Xray connection is added to the Integration list. Client Secret (Xray Cloud only): Enter the Client Secret generated in Jira Software. See Integrating with self-hosted tools using OAuth for details. The site admin grants the permissions (for example, builds, deployments) for the credentials, as desired. Enter the Client Id generated in Jira Software. A site admin creates OAuth 2.0 credentials (client ID and secret) in Jira Software Cloud. Jira authentication with Client ID and a Client Secret: pytest -jira-xray -client-secret-auth. I was able to authenticate my OAuth 2.0 with the following configuration.įor the Auth. You need to be a Jira administrator to perform this action. pytest plugin to integrate tests with JIRA XRAY. Then I get a different error as shown below. If I generate my client id and secret from the below link Each API key contains a Client Id and a Client Secret which can be used during the authentication phase. JIRA Documentation is not at all helpful. An API key may be created for each Jira user. I have generated client id secret by clicking on OAuth credentials beta and this doesn't seem the right way to generate client id and secret as it is in beta and provides only limited access. I would highly appreciate if someone would help me to generate client id secret from JIRA other then generating the same by clicking on generate OAuth credentials button on Jira as this has limited access and also I would be very grateful if someone also helps me with Authorization Endpoint URL and Token End Point URLĪnd when I save the named credentials I get below error In one of my unsuccessful attempts, I tried to generate OAuth credentials (currently in beta in Jira) and used the same in AUTH provider in salesforce but still, when I save named credentials I get identity provider error and also I am not sure on what exactly I need to pass for Authorization Endpoint URL and Token End Point URL Here paste in the Application ID from Gitlab. On the page we were working on before, scroll up to Client ID. Keep this handy, as we’ll be copying these values into Jira shortly. ![]() App uses the access token to perform actions as a user.įor an app to make requests on a user's behalf, you need an OAuth 2.0 access token.I am banging my head against the wall from the last couple of weeks to just set up the authentication between JIRA cloud and salesforce, I didn't get any proper documentation to create a connected application in Jira to generate client Id and secret so that I can set up an auth provider in salesforce to use it with the named credentials, if I am not following the right path, please feel free to correct me. This will give a screen with your Application ID and Secret. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |