Fix Keycloak OpenID Connect Identity provider creation (#3255)
This commit is contained in:
parent
a4410c3ef8
commit
6fc4325871
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ export default function AddOpenIdConnect() {
|
||||||
const { t } = useTranslation("identity-providers");
|
const { t } = useTranslation("identity-providers");
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
const { url } = useRouteMatch();
|
const { url } = useRouteMatch();
|
||||||
const isKeycloak = url.endsWith("keycloak-oidc");
|
const isKeycloak = url.includes("keycloak-oidc");
|
||||||
const id = `${isKeycloak ? "keycloak-" : ""}oidc`;
|
const id = `${isKeycloak ? "keycloak-" : ""}oidc`;
|
||||||
|
|
||||||
const form = useForm<IdentityProviderRepresentation>({
|
const form = useForm<IdentityProviderRepresentation>({
|
||||||
|
|
Loading…
Reference in a new issue