google / syzkaller

syzkaller is an unsupervised coverage-guided kernel fuzzer
Apache License 2.0
5.35k stars 1.22k forks source link

dashboard/app: make it compatible with gcloud generated credentials #5377

Closed tarasmadan closed 1 week ago

tarasmadan commented 1 week ago

Is your feature request related to a problem? Please describe. I can't authorize curl to get data from dashboard/app with gcloud generated credentials. The currently used by dashboard mechanism is not integrated with "gcloud" generated credentials.

Describe the solution you'd like user.CurrentOAuth(ctx, "https://www.googleapis.com/auth/userinfo.email") is the way to extract user data from "Authorization" http header. It is a basic AppEngine library.

Additional context I need it to skip throttling during the ./tools/syz-reprolist calls. It impacts #5374 . I understood it after #5376.

tarasmadan commented 1 week ago

Let's land #5370 first.