steyep / alfred-jira

Alfred 3 (or Alfred 2) workflow for interacting with JIRA.
269 stars 60 forks source link

Any chance of supporting using Google as login for JIRA? #57

Open NeckBeardPrince opened 7 years ago

steyep commented 7 years ago

Honestly, I didn't even know that was an option until you created this issue. I'm assuming you're talking about G-Suite?

For simplicity's sake, this codebase uses Basic Authentication to auth against Jira so I'm not sure there's a good way to incorporate SSO into that mix. And, ultimately, since the Jira instance I use doesn't use G-Suite, I'm going to try to avoid the headache associated with supporting a feature I can't test myself.

That said, if you can make it work, PR's are always welcomed!

deanputney commented 6 years ago

I'm also interested in this feature. This seems like a pretty well-used application, so I may look into adding this functionality in a PR if I have time.

trobrock commented 6 years ago

Anyone know how to get auth working with this for an account that is setup with g-suite auth?

trobrock commented 6 years ago

@steyep would also love to pair on this at some point if you are interested.

meGAmeS1 commented 6 years ago

Hi, I'm also interested in this feature. I'm not familiar with NodeJS but I could help if you need more hands

AryanJ-NYC commented 6 years ago

I'm throwing my hat in the ring as well. Will help if needed.

lisaross commented 6 years ago

FWIW I don't have the gsuite integration set up on my cloud instance (this allows your organization to connect any/all users to the domain), but I DO use the google login option (I connected my google account to my unified atlassian account personally). So I'm not sure how authentication with the Suite works for organizations, but I'm still able to use my old username and password with alfred-jira even though I use google to sign in usually.

All that said, Atlassian IS removing username support in favour of email under a unified account (for cloud users anyway). https://confluence.atlassian.com/cloud/blog/2018/06/say-goodbye-to-usernames-in-atlassian-cloud so @steyep that might have an impact on the app function sooner than later, regardless of google integration. I'm not sure because I haven't digged in to the code here, but I thought it would be helpful to some if they weren't aware of this change. 🤷‍♂️

Currently, it is still possible to see usernames via the admin screen, but only if user is clicked, and through the URL: https://d.pr/free/i/yZ4jSK - I assume that will go away sometime soon as well.

confiq commented 5 years ago

I know that Atlassian have tokens now, you can use it instead of SSO

https://id.atlassian.com/manage/api-tokens

EDIT: You can type your email as a username and token as a password

mfy2a commented 5 years ago

Atlassian token works great

chrismetcalf commented 5 years ago

Confirmed: If you create an API token ala @confiq suggested above, and enter it as the password, it works!

AlexVPopov commented 4 years ago

Yep, tokens work, thank you @confiq.