default values, it used id instead of value (#3040)

fixes: #3029
This commit is contained in:
Erik Jan de Wit 2022-08-04 12:10:37 +02:00 committed by GitHub
parent e363fb68b0
commit 760af5db35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,10 +12,10 @@ import { ClientIdSecret } from "../component/ClientIdSecret";
import { HelpItem } from "../../components/help-enabler/HelpItem"; import { HelpItem } from "../../components/help-enabler/HelpItem";
const clientAuthenticationTypes = [ const clientAuthenticationTypes = [
"clientAuth_post", "client_secret_post",
"clientAuth_basic", "client_secret_basic",
"clientAuth_secret_jwt", "client_secret_jwt",
"clientAuth_privatekey_jwt", "private_key_jwt",
]; ];
export const OIDCAuthentication = ({ create = true }: { create?: boolean }) => { export const OIDCAuthentication = ({ create = true }: { create?: boolean }) => {
@ -73,7 +73,7 @@ export const OIDCAuthentication = ({ create = true }: { create?: boolean }) => {
/> />
</FormGroup> </FormGroup>
<ClientIdSecret <ClientIdSecret
secretRequired={clientAuthMethod !== "clientAuth_privatekey_jwt"} secretRequired={clientAuthMethod !== "private_key_jwt"}
create={create} create={create}
/> />
</> </>