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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Posted 7 hours ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

25 views 0 4
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