web stats
Checking for token expiration - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 06-09-2017, 09:03 AM
derickmiller derickmiller is offline
Mirth Newb
Join Date: Mar 2015
Posts: 18
derickmiller is on a distinguished road
Default Checking for token expiration

We have a channel that calls an API and gets a token. The token is returned and we are able to use the token in other API calls. The issue I have is, I don't want to have to make a call to get a new token with every call. Can anyone suggest a solution where we can check if the token is expired and if it is expired go and grab a new token. Thanks in advance for any help.
Reply With Quote

api login, javascript, json

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 10:37 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Mirth Corporation