Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figure out why OIDC authentication failed on first invocation of Cloud Run #36

Open
kkom opened this issue Sep 29, 2019 · 0 comments
Open

Comments

@kkom
Copy link
Owner

kkom commented Sep 29, 2019

2019-09-29 17:37:51.095 CESTGET4030 B0 msGoogle-Cloud-Scheduler https://gdrive-backup-a43abwwixq-ew.a.run.app/gdrive-backup
The request was not authenticated. Either allow unauthenticated invocations or set the proper Authorization header. Read more at https://cloud.google.com/run/docs/securing/authenticating

Maybe should do OAuth instead? Couldn't figure out how to set up OAuth in Terraform on first try:

gdrive-backup/main.tf

Lines 229 to 231 in d5229fc

oidc_token {
service_account_email = google_service_account.cloud_run_invoker.email
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant