My company has a web application implemented in MERN stack. We are using JWT for session management. What we are trying to do is, when the user logs into the app, they should be able to see a logout button on the map(which we are displaying in an iframe).
We tried following https://community.esri.com/docs/DOC-8591-url-button-widget-version-23-02142017 by Robert Scheitlin, GISP. However, I'm not sure how we can kill the session from our web application. Clicking on the widget will redirect to another website on a new tab, but the map still remains. Has anyone done this before? Is there any other way to implement what we are trying to do?