SSO: Display provider list (#78472)

* Load providers

* Display providers

* Rename

* Remove redundant styles

* Update Grid import

* Return data in camelCase from the OAuth fb strategy

* Update cards and remove empty state

* Add comment

* Add feature toggle

* Update betterer

* Add empty state

* Fix configPath

* Update betterer

* Revert backend changes

* Remove newline

* Enable auth routes

---------

Co-authored-by: Mihaly Gyongyosi <mgyongyosi@users.noreply.github.com>
This commit is contained in:
Alex Khomenko
2023-11-29 19:09:36 +02:00
committed by GitHub
co-authored by Mihaly Gyongyosi
parent 5c451cbb7d
commit 1141dd62ab
9 changed files with 146 additions and 257 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ func (s *ServiceImpl) getAdminNode(c *contextmodel.ReqContext) (*navtree.NavLink
})
}
if authConfigUIAvailable && hasAccess(evalAuthenticationSettings()) {
if (authConfigUIAvailable && hasAccess(evalAuthenticationSettings())) || s.features.IsEnabled(ctx, featuremgmt.FlagSsoSettingsApi) {
configNodes = append(configNodes, &navtree.NavLink{
Text: "Authentication",
Id: "authentication",