title: Google Maps: Platform rejected your request. This I[...] site or [...] is not authorized to use this API key
body: <pre><code>&lt;iframe width="100%" height="427" frameborder="0" style="border:0" src="https://www.google.com/maps/embed/v1/place?q=place_id:[place_id]&amp;key=[my_key]" allowfullscreen&gt;&lt;/iframe&gt;
  </code></pre>
  
  <p>"Google Maps Platform rejected your request. This IP, site or mobile application is not authorized to use this API key. Request received from IP address xxx.xxx.xxx.xxx, with referer: <a href="https://xxx.xxx/" rel="noreferrer">https://xxx.xxx/</a>"</p>
  
  <p>In Google Dev I have enabled Maps Embed API and also Maps Static API. I have limited the key to work with my domain only, where the above code is included, like <a href="https://[asterisk].thedomain.com/[asterisk]" rel="noreferrer">https://[asterisk].thedomain.com/[asterisk]</a>.</p>
  
  <p>The map embed works and does not throw an error, when I do NOT limit the key to this single domain.</p>
  
  <p>The issue is, that the key is plain readable in the code and thus I need to limit the key to my domain.</p>
  
  <p>Any ideas?</p>
  
  <p>Thank you.</p>