Requests from the Cron Service will also contain a HTTP header:
X-Appengine-Cron: true
I'm using the Go 1.12 standard environment. I have some handlers for cron- and cloudtasks-generated requests. How should these handlers ensure that requests are coming from my GAE service account? The docs are super unclear about this, and many are outdated (still referring to e.g. login: admin in app.yaml.)Thanks in advance!
--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/360363bf-cdfd-4a1f-b036-5fdba04bd33d%40googlegroups.com.
I've done this filtering the request headers like described here:Requests from the Cron Service will also contain a HTTP header:
X-Appengine-Cron: trueGiuliano Ribeiro
On Wed, Aug 28, 2019 at 12:52 AM Bob Glickstein <bob.gl...@gmail.com> wrote:
I'm using the Go 1.12 standard environment. I have some handlers for cron- and cloudtasks-generated requests. How should these handlers ensure that requests are coming from my GAE service account? The docs are super unclear about this, and many are outdated (still referring to e.g. login: admin in app.yaml.)--Thanks in advance!
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-a...@googlegroups.com.