<div dir="ltr"><div><div><div><div>Hi Rolando,<br><br></div>Thanks for the suggestion -- it's a very good idea. I've opened <a href="https://github.com/aces/Loris/issues/4420">a ticket on GitHub </a>containing the body of your email. We don't have a plan to implement this feature yet but we can put it on our roadmap as we sort out priorities for upcoming releases.<br><br></div>You can track the status of this request by checking on on the ticket every so often.<br><br></div>All the best,<br></div>John Saigle<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 21, 2019 at 2:21 PM Rolando Acosta <<a href="mailto:rolando.acosta@cnbp.ca">rolando.acosta@cnbp.ca</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi loris-dev team,<br><br>At CNBP we're wondering if there is a possibility of developing a refresh token for the Loris-API. The demand comes from the following situation:<br><br>Currently API token expires in 24 hours. When an app authenticate and get the access token, must do the re-authentication process (via user, pass) before 24hours to get the new token in the case of continuous communication needs. We have in place a service that takes MRIs from the scanner and push it into the LORIS instances automatically via the API. The issue comes then because LORIS users have a password expiration after 6months of creation/modification. So every 6 months the automatic uploading system crash (as the password expiry) and the sysadmin should manually change the password and feed it back into the automatic system.<br><br>Having a refresh token two issues could be solved from the automation perspective:<br> - The user and pass will not longer have to be provided to the system every 24 hours. (of course the refresh token must)<br> - The automatic system for uploading content will not break and need human intervention every 6 months.<br><br>Thank you very much in advance for the help you can provide us,<br><br>Rolando Acosta <br>Canadian Neonatal Brain Platform (CHU Sainte-Justine)</div></div></div>
_______________________________________________<br>
Loris-dev mailing list<br>
<a href="mailto:Loris-dev@bic.mni.mcgill.ca" target="_blank">Loris-dev@bic.mni.mcgill.ca</a><br>
<a href="https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev" rel="noreferrer" target="_blank">https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev</a><br>
</blockquote></div>