Problem:
When setting up a second Google API key for server side requests, what kind of API key should it be (in the Google settings), a normal API key or a "Service account key" for server-to-server requests?
Solution:
A normal API key.
The intention is that you create the main API key with URL referrer restrictions for your site (for exposed front-end requests) and the second key with no such restrictions which we will use for the unexposed server-based requests.
If your site has a fixed IP address you could add IP-based restrictions to the second key.
Relevant Documentation:
https://toolset.com/documentation/user-guides/display-on-google-maps/creating-a-google-maps-api-key/
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | - |
- | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | - |
Supporter timezone: Europe/London (GMT+00:00)
This topic contains 2 replies, has 2 voices.
Last updated by 6 years, 3 months ago.
Assisted by: Nigel.