How to create the "remember me" feature when logging in via JIRA API?

The login page of my custom website features a "username" and "password" field as well as a "remember me" checkbox. So far I have developed the login feature (via POST /rest/auth/1/session), which means the user can enter their credentials and successfully login. Now I would also like to enable the "remember me" feature, however I cannot find much information on how to develop this.

I have found this page (although it is for JIRA Server) which mentions about the seraph.rememberme.cookie cookie, but it is not clear where this cookie can be found and how to use it.

How can I allow for the "remember me" feature when using the JIRA API?

2 answers

0 vote

If you are implementing a login page where somebody will put in their Atlassian credentials then I can tell you for a fact that you are "doing it wrong".

If you write your integration with Atlassian Connect then you should never need to worry about that.

What are you writing / trying to accomplish? Maybe we could help. Please don't write a custom login form. smile

Thanks for the response Robert,

I am currently in the process of creating a web app (for use by mobile devices) that resides entirely outside of JIRA but connects to the data via the API. This is why the login page has been created and why I asked about the "remember me" feature. The web app is developed using Java Servlets, AngularJS and Bootstrap, which allows for the creation of custom views of the data that suit the requirements of the application.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

66 views 0 5
Read article

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