From 008ef3978f80d73442037795daec845c80c35088 Mon Sep 17 00:00:00 2001 From: SilviaAmAm Date: Wed, 2 Oct 2024 16:39:16 +0200 Subject: [PATCH] :memo: - feat: OIDC login story [maykinmedia/open-archiefbeheer#390] --- src/templates/login/login.stories.tsx | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/templates/login/login.stories.tsx b/src/templates/login/login.stories.tsx index 82180879..8c27b9e3 100644 --- a/src/templates/login/login.stories.tsx +++ b/src/templates/login/login.stories.tsx @@ -29,3 +29,23 @@ export const loginTemplate: Story = { labelLogin: "Log in", }, }; + +export const WithOIDC: Story = { + args: { + formProps: { + autoComplete: "off", + fields: [ + { + label: "Gebruikersnaam", + name: "username", + }, + { + label: "Wachtwoord", + name: "Password", + }, + ], + }, + urlOidcLogin: "http://example.nl/oidc/authenticate/", + labelOidcLogin: "OIDC Login!", + }, +};