Skip to content

Commit

Permalink
PMM-12293 fix platform auth. (#2359)
Browse files Browse the repository at this point in the history
* PMM-12293 fix platform auth.

* Update managed/services/supervisord/supervisord.go

* Update managed.yml

* Update managed.yml

* Update managed.yml
  • Loading branch information
BupycHuk committed Aug 8, 2023
1 parent 47d3da7 commit 0bd377d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions managed/services/supervisord/supervisord.go
Original file line number Diff line number Diff line change
Expand Up @@ -793,6 +793,7 @@ command =
cfg:default.auth.generic_oauth.api_url="{{ .PerconaSSODetails.IssuerURL }}/userinfo"
cfg:default.auth.generic_oauth.role_attribute_path="(contains(portal_admin_orgs[*], '{{ .PerconaSSODetails.OrganizationID }}') || contains(pmm_demo_ids[*], '{{ .PMMServerID }}')) && 'Admin' || 'Viewer'"
cfg:default.auth.generic_oauth.use_pkce="true"
cfg:default.auth.oauth_allow_insecure_email_lookup="true"
{{- end}}
environment =
PERCONA_TEST_POSTGRES_ADDR="{{ .PostgresAddr }}",
Expand Down

0 comments on commit 0bd377d

Please sign in to comment.