Hi,
I have created a login page to authenticate with my website (wordpress) via an API post.
I have used a flow so that I can set some session variables that will allow other pages to use the returned token but the I can’t get the flow steps to add the token to the session storage (and later to check for an error and display it).
The flow correctly gets the token (Chrome dev tools network shows a token is returned) but the flow stops at the set session stage (the test prompt does not appear).
Here is my flow (connected to a button) in the form:
I used the steps in this post - Are AC flows compatible with form submits? - to get the flow to trigger on the button click.
Any ideas on what I am doing wrong?
Thanks.