grafana/public/app/features/auth-config/utils.ts
2023-05-02 15:05:19 +03:00

7 lines
208 B
TypeScript

import { BASE_PATH } from './constants';
import { AuthProviderInfo } from './types';
export function getProviderUrl(provider: AuthProviderInfo) {
return BASE_PATH + (provider.configPath || provider.id);
}