When the user clicks logout, I need the stored token (Set Item to Storage) to be deleted, but it doesn’t happen.
The Item Key being passed is correct, but unfortunately the stored token just won’t delete.
My flow is:
Any idea where I’m going wrong, or if it’s a platform bug?
I don’t know why it doesn’t work when clicking the Exit button, however, I thought I’d send it to redirect normally to the Lgoin screen and, when I get there, in the Mounted Page event, I trigger the Delete item from storage and that’s how it works.
I don’t know if this is the correct way to do this, but it was the way I found for the moment.