From 38c3a6bda5cb059d6b4ba450e7dcacafd96370cf Mon Sep 17 00:00:00 2001 From: Greg Steuck Date: Tue, 15 Jun 2021 16:20:55 -0700 Subject: dashboard/app: server-side support for OAuth /api authentication --- dashboard/dashapi/dashapi.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dashboard/dashapi/dashapi.go') diff --git a/dashboard/dashapi/dashapi.go b/dashboard/dashapi/dashapi.go index 1eb536404..cdd557994 100644 --- a/dashboard/dashapi/dashapi.go +++ b/dashboard/dashapi/dashapi.go @@ -561,6 +561,10 @@ const ( ReportBisectFix // Fix bisection result for an already reported bug. ) +const ( + DashboardAudience = "https://syzkaller.appspot.com/api" +) + func (dash *Dashboard) Query(method string, req, reply interface{}) error { if dash.logger != nil { dash.logger("API(%v): %#v", method, req) -- cgit mrf-deployment