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 am currently adding cookie data in the request headers in order to skip the authentication stage. I can paste the data into the watch and this works fine. I have however also seen in the doc that this information can be specified in a file saved in the datastore folder: https://github.com/dgtlmoon/changedetection.io/wiki/Adding-headers-from-an-external-file
the method seems to be:
common header for all watches (/datastore/headers.txt)
1 header per watch (/datastore/d4e929f1-d467-491f-94e9-139537b9bd91/headers.txt)
1 header per tag (/datastore/headers-favourite.txt)
In my case, since it's for authentication, it means that I could update a single file rather than multiple watches which is great, but I would like to have 1 header per domain so all watches for a given domain use the same header. I would be ok to manually input the path into the field but it doesn't seem to accept file paths, only actual header file content. I could work around it by creating 1 tag per domain but it's going to look a bit ugly.
Is there an easy solution for this use case? either possibility to specify the header file name/path or being able to define a specific header file for all watches of a given domain?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am currently adding cookie data in the request headers in order to skip the authentication stage. I can paste the data into the watch and this works fine. I have however also seen in the doc that this information can be specified in a file saved in the datastore folder: https://github.com/dgtlmoon/changedetection.io/wiki/Adding-headers-from-an-external-file
the method seems to be:
/datastore/headers.txt
)/datastore/d4e929f1-d467-491f-94e9-139537b9bd91/headers.txt
)/datastore/headers-favourite.txt
)In my case, since it's for authentication, it means that I could update a single file rather than multiple watches which is great, but I would like to have 1 header per domain so all watches for a given domain use the same header. I would be ok to manually input the path into the field but it doesn't seem to accept file paths, only actual header file content. I could work around it by creating 1 tag per domain but it's going to look a bit ugly.
Is there an easy solution for this use case? either possibility to specify the header file name/path or being able to define a specific header file for all watches of a given domain?
Beta Was this translation helpful? Give feedback.
All reactions