marc0l92 / obsidian-jira-issue

This plugin allows you to track the progress of Atlassian Jira issues from your Obsidian notes.
https://marc0l92.github.io/obsidian-jira-issue/
GNU Affero General Public License v3.0
234 stars 36 forks source link

Locking out my Jira account #29

Closed slyconcepts closed 1 year ago

slyconcepts commented 2 years ago

I was having issues with my account locking out every time I used this plugin. I noticed that it seems to try and login to the server every time I update the password/api field (I.e one log in attempt for each letter I type) and obviously the password is wrong until I have typed all of it into the field.

this also seems to that it attempts log in every time I type a letter in the host field.

I worked around the issue of account locking out, by completing the username and password field first then entering the hostname.

it is possible, that it is something I am doing wrong - but thought you might want to double check the code

marc0l92 commented 1 year ago

I never thought about this issue. The plugin receive an event every time one of the setting is updated. In this event the plugin downloads some data from jira (e.g. list of custom fields).

What I could do is delay this process by few seconds in order to let the user complete the password in case the response from jira is 401

slyconcepts commented 1 year ago

Hi Marco

Thanks for reaching out. Have you considered a save button for applying username and password? Maybe this could also work

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Marco Lucarella @.> Sent: Thursday, September 15, 2022 10:04:51 PM To: marc0l92/obsidian-jira-issue @.> Cc: James Smith @.>; Author @.> Subject: Re: [marc0l92/obsidian-jira-issue] Locking out my Jira account (Issue #29)

I never thought about this issue. The plugin receive an event every time one of the setting is updated. In this event the plugin downloads some data from jira (e.g. list of custom fields).

What I could do is delay this process by few seconds in order to let the user complete the password in case the response from jira is 401

— Reply to this email directly, view it on GitHubhttps://github.com/marc0l92/obsidian-jira-issue/issues/29#issuecomment-1247880398, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARY7MI5Q7564U5S4FUKUSU3V6LYEHANCNFSM6AAAAAAQGKMN5Y. You are receiving this because you authored the thread.Message ID: @.***>

marc0l92 commented 1 year ago

Yes, I can do that.

I will include it in the redesign of the login sttings to support multiple account.

marc0l92 commented 1 year ago

Hello @slyconcepts, I modified the settings of the connection and account in the release 1.29.0 of this plugin. Can you update it and let me know your feedback about those changes?