keycloakify 11.13.1 → 11.13.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keycloakify",
3
- "version": "11.13.1",
3
+ "version": "11.13.2",
4
4
  "description": "Framework to create custom Keycloak UIs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -359,3 +359,22 @@ export const WithSocialProvidersAndWithoutRememberMe: Story = {
359
359
  />
360
360
  )
361
361
  };
362
+ /**
363
+ * WithAuthPassKey:
364
+ * - Purpose: Test usage of Sign In With Pass Key integration
365
+ * - Scenario: Simulates a scenario where the `Sign In with Passkey` button is rendered below `Sign In` button.
366
+ * - Key Aspect: Ensure that it is displayed correctly.
367
+ */
368
+ export const WithAuthPassKey: Story = {
369
+ render: args => (
370
+ <KcPageStory
371
+ {...args}
372
+ kcContext={{
373
+ url: {
374
+ loginAction: "/mock-login-action"
375
+ },
376
+ enableWebAuthnConditionalUI: true
377
+ }}
378
+ />
379
+ )
380
+ };
@@ -67,3 +67,22 @@ export const WithoutResetPasswordOption: Story = {
67
67
  />
68
68
  )
69
69
  };
70
+ /**
71
+ * WithAuthPassKey:
72
+ * - Purpose: Test usage of Sign In With Pass Key integration
73
+ * - Scenario: Simulates a scenario where the `Sign In with Passkey` button is rendered below `Sign In` button.
74
+ * - Key Aspect: Ensure that it is displayed correctly.
75
+ */
76
+ export const WithAuthPassKey: Story = {
77
+ render: args => (
78
+ <KcPageStory
79
+ {...args}
80
+ kcContext={{
81
+ url: {
82
+ loginAction: "/mock-login-action"
83
+ },
84
+ enableWebAuthnConditionalUI: true
85
+ }}
86
+ />
87
+ )
88
+ };
@@ -29,3 +29,22 @@ export const WithEmailAsUsername: Story = {
29
29
  />
30
30
  )
31
31
  };
32
+ /**
33
+ * WithAuthPassKey:
34
+ * - Purpose: Test usage of Sign In With Pass Key integration
35
+ * - Scenario: Simulates a scenario where the `Sign In with Passkey` button is rendered below `Sign In` button.
36
+ * - Key Aspect: Ensure that it is displayed correctly.
37
+ */
38
+ export const WithAuthPassKey: Story = {
39
+ render: args => (
40
+ <KcPageStory
41
+ {...args}
42
+ kcContext={{
43
+ url: {
44
+ loginAction: "/mock-login-action"
45
+ },
46
+ enableWebAuthnConditionalUI: true
47
+ }}
48
+ />
49
+ )
50
+ };