You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't expect to Template Tag to run during sync.
Actual Behavior
I have the 1Password plugin installed to fetch my secrets from the 1Password vault. The plugin is a Template Tag that I used in the Environments. When doing a request the Tag will run and fetch the 1Password secrets before first requesting me to authorise (1Password prompt).
Insomnia does some syncing every minute (here). When this sync happens the Template Tag run method is also triggered. That means that when Insomnia is running (even in the background) I will get a 1Password prompt because it tries to fetch the secret in the run method. This is not very handy.
The plugin already caches the secret for 1 hour so the prompt only appears once per hour (Insomnia is always running). But getting the prompt every hour is still not plesant.
I do wonder why the Template Tag run method is triggered for the sync. And if it can be disabled or prevented. I would think just the content of the Tag needs to be synced and therefor not be run.
Expected Behavior
I don't expect to Template Tag to run during sync.
Actual Behavior
I have the 1Password plugin installed to fetch my secrets from the 1Password vault. The plugin is a Template Tag that I used in the Environments. When doing a request the Tag will run and fetch the 1Password secrets before first requesting me to authorise (1Password prompt).
Insomnia does some syncing every minute (here). When this sync happens the Template Tag run method is also triggered. That means that when Insomnia is running (even in the background) I will get a 1Password prompt because it tries to fetch the secret in the run method. This is not very handy.
The plugin already caches the secret for 1 hour so the prompt only appears once per hour (Insomnia is always running). But getting the prompt every hour is still not plesant.
I do wonder why the Template Tag run method is triggered for the sync. And if it can be disabled or prevented. I would think just the content of the Tag needs to be synced and therefor not be run.
Reproduction Steps
Is there an existing issue for this?
Additional Information
No response
Insomnia Version
v8.6.1
What operating system are you using?
macOS
Operating System Version
MacOS 13.6 (22G120)
Installation method
Insomnia.rest
Last Known Working Insomnia version
No response
The text was updated successfully, but these errors were encountered: