Scripts not running after folder-level authorization

Hey there!
It works fine if I use a separate authorization call with a post-script to save response details into environment variables.
When I use the same authorization with the same post-script, it seems not to be run so no env variables are populated after I hit the Get New Access Token or Refresh button.

Are scripts supposed to work for folder-level authorization?

There was a similar question with no answer.