Allowed Hosts #322
Replies: 4 comments 4 replies
-
Hello, I'm new in this plugin, |
Beta Was this translation helpful? Give feedback.
-
What if I wan to allow all hosts |
Beta Was this translation helpful? Give feedback.
-
still not working in case of Freshdesk api |
Beta Was this translation helpful? Give feedback.
-
what exactly is "Allowed Hosts"? Normally we set such a setting when we want to restrict the client IPs that can invoke the api, like in a firewall. But your "Allowed Hosts" is asking to add the base url. But why do I have to add the base url in security section, when I already added the base url in the "Base Url" section? |
Beta Was this translation helpful? Give feedback.
-
This is about the breaking change introduces in version 1.0.0 of the plugin.
Authentication & Allowed host URLs
If you are using any APIs/URLs that require authentication, You will now need to specify the list of allowed Host URLs in the config. This change is introduced to allow additional security to your endpoints.
To migrate your existing datasources, add allowed URLs/allowed Hosts in the datasource configuration section. Example: If you are using
https://foo.com/some/path?id=123
which require authentication, you will need to addhttps://foo.com
in the allowed hosts list.Examples:
If your datasource is provisioned, then you have to add the following to your provisioning yaml file.
If the allowed hosts are not configured correctly, you will get
Datasource is missing allowed hosts/URLs. Configure it in the datasource settings page. Datasource Name
error when performing the query.Beta Was this translation helpful? Give feedback.
All reactions