You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This change adds an authentication step to check if requests to the
back-office API are through a verified host, e.g.: Oauth2 proxy.
Change-Id: Iaec4746939578049b9d038001d2d69067bcafea6
Copy file name to clipboardExpand all lines: satellite/admin/back-office/server.go
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,8 @@ type Config struct {
38
38
StaticDirstring`help:"an alternate directory path which contains the static assets for the satellite administration web app. When empty, it uses the embedded assets" releaseDefault:"" devDefault:""`
39
39
40
40
BypassAuthbool`help:"ignore authentication for local development" default:"false" hidden:"true"`
41
+
// hidden for now because it is provided by the legacy admin server.
42
+
AllowedOauthHoststring`help:"the oauth host allowed to host the backoffice." default:"" hidden:"true"`
41
43
42
44
UserGroupsRoleAdmin []string`help:"the list of groups whose users has the administration role" releaseDefault:"" devDefault:""`
43
45
UserGroupsRoleViewer []string`help:"the list of groups whose users has the viewer role" releaseDefault:"" devDefault:""`
0 commit comments