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

This widget could not be displayed.

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

This widget could not be displayed.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

204 views 1 3
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