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.
Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.
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)
Ce sujet contient 2 réponses, a 2 voix.
Dernière mise à jour par Il y a 6 années et 4 mois.
Assisté par: Nigel.