Ignore all other workflows except the very first one (purple). So here I:
Get the local storage value called Token (works)
Why is that? I feel like actions run at the same time and whatever values they read (steps 3-5) they do not then dare to read the new value.
I know that I can just delete the step 3 and run step 4 and 5 by just reading the value auth from step 2 but I tried that too and it failed the same way
It is very possible you’re running into an issue with the synchronous workflow steps - these steps don’t necessary function one after the other, in the order you have them laid out. Your step 3 ‘set state’ is most likely setting the state with the data that has yet to be updated in step 2. Is it possible to add an ‘Only when’ condition to step 3, with the condition being ‘result of step 2’ or similar?