Best approach for developing 2 Factor Authentication Plugin Edited

Hello bois'n'gerls!


First of all:   P2 vs. Connect
As Frank mentioned here "Using Atlassian Connect is not sufficient enough as you can by-pass requests.". Is this 2 years after still an issue? Or just inseparable part of the design of Connect?


As I'm planning to use third party applications like Google Authenticaor, is there anything speaking against using the rfc6238 standard? Are there better/more secure approaches since?


The general design approach would be a servlet-like filter that blocks all requests until a correct OTP for the user is entered. Is there something wrong with that? 


If you know any useful literatur about this topic in general, please feel free to post your information under this question here! =) 



slothstronaut =) 


2 answers

1 vote
Thomas Schlegel Community Champion Apr 06, 2017

Hi slothstronaut,

there's another community for developer's issues:

Maybe you get an answer there sooner

Thx Thomas! I'll take a look at that.

Sam Hall Community Champion Apr 06, 2017

Here's a link to the thread about this in the dev community, in case useful for others:

Just for completness, as it probably answers the question:

From Dave Meyer on

"Simply put, it is not possible to implement custom authentication for Atlassian Cloud applications. Among other reasons, Atlassian has a shared authentication layer for our cloud services called Atlassian account, so JIRA Cloud does not even have APIs that you could extend. Additionally, you should expect that we will expand native support for 2FA from Bitbucket to the rest of Atlassian Cloud in the near future.

So hopefully that's enough to guide you towards building a P2 plugin for JIRA Server.


Suggest an answer

Log in or Join to answer
Community showcase
Maarten Cautreels
Posted Thursday in Off-topic

Friday Fun: What's your favourite beer/drink

As a Belgian, beer-lover and home brewer, beer is one of my great passions. I love the fact that with just a few ingredients (usually just water, hop and malt) you can create so many different tastes...

288 views 38 9
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot