mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 06:02:49 +08:00

* Add name to be configurable from the UI * Update public/app/features/auth-config/ProviderConfigPage.tsx Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com> * Align test --------- Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
15 lines
450 B
TypeScript
15 lines
450 B
TypeScript
import { IconName } from '@grafana/data';
|
|
|
|
export const BASE_PATH = 'admin/authentication/';
|
|
|
|
// TODO Remove when this is available from API
|
|
export const UIMap: Record<string, [IconName, string]> = {
|
|
github: ['github', 'GitHub'],
|
|
gitlab: ['gitlab', 'GitLab'],
|
|
google: ['google', 'Google'],
|
|
generic_oauth: ['lock', 'Generic OAuth'],
|
|
grafana_com: ['grafana', 'Grafana.com'],
|
|
azuread: ['microsoft', 'Azure AD'],
|
|
okta: ['okta', 'Okta'],
|
|
};
|