Basic authentication with passwords is deprecated

Created on 13 December 2022, almost 2 years ago
Updated 9 September 2024, 2 months ago

Problem/Motivation

Trying to setup the module.

Steps to reproduce

When trying to setup the module, providing Username and Password, if I try to validate the configuration, I get the following error.

Basic authentication with passwords is deprecated

More infos here : https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-b...

Proposed resolution

Implement as indicated the OAuth authentication protocol.

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ’ฌ Support request
Status

Needs review

Version

4.0

Component

Code

Created by

๐Ÿ‡ซ๐Ÿ‡ทFrance becassin Lyon

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Hi,

    I know this issue is a bit older but exploring this module. Was looking at the code for this issue, when I saw some code that maybe the dev version of the module currently already allows for this.

    I can get a successful connection with Jira using the API key, using the Key module. For key name add Jira user name and then for key type select Authentication, for key value add the API key.

    Then in the configuration create an endpoint. For credential provider select Key Module. Then for user name and 'password' chose the key name. It should show as autofill in the dropdown menu. Enter the url instance path, and press validate.

    So, the code can handle it already, iiuc, would just need to adjust some field headings and texts that it is a bit clearer.

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States Dan Kolbas

    dan kolbas โ†’ made their first commit to this issueโ€™s fork.

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States Dan Kolbas

    I agree that this should be updated. I just tossed together some code to help assist with this. Most of the bulk changes were done to the provider form.

    WHY
    I have an initiative at my work to build out a custom gitlab pipeline that will integrate JIRA_REST and atm i am leaning towards jira_updates_reporter module. So that we can automate our process for keeping our contributed modules updated with the least amount of effort.
    Aka.

    • Create JIRA tickets based on modules out of date based on druapl.org
    • spin up containerized preview environments with an MR against our projects with the update applied.
    • run our regression tests, performance tests against it and update jira accordingly.
    • In turn triggering it to be passed it off to our QA team if nothing goes wrong.

    Take out that developer intervention. ;)

    I mention the above because the updates here and to the jira_updates_reporter are planed to be generic enough that people using this might be interested as well in it when i am done.

  • Status changed to Needs review 2 months ago
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States Dan Kolbas
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States Dan Kolbas

    Just noticed i fixed the validate call, but its failing for normal calls due to additional function support needed. Patch coming soon

Production build 0.71.5 2024