I have a Google Cloud Scheduler set to hit a Google App Engine endpoint myservice.appspot.com/endpoint
once a day. How can I authenticate the identity of my Google Cloud Scheduler in my Google App Engine endpoint? I am using Python and Flask.
Asked
Active
Viewed 96 times
0

user1222324562
- 965
- 2
- 9
- 24
-
Can you clarify your question? Are you looking at how to validate a Google Identity Token that Cloud Scheduler includes in the Authorization header, or are you trying to configure authorization in App Engine? – John Hanley Jul 17 '19 at 20:17
-
@JohnHanley It wouldn't be a user OAuth token. I'm trying to configure authorization in App Engine. My initial thinking was passing a token from scheduler to App Engine, but that would mean I would have to hardcode a token into the scheduler request body – user1222324562 Jul 17 '19 at 20:48
-
I still do not understand what you are trying to do. EDIT your question to be more specific. You can either use a secret key (of your own design) or have Cloud Scheduler add the Identity Token to the HTTP authorization header. – John Hanley Jul 17 '19 at 20:58