@keycloakify/angular 0.1.2 → 0.1.4

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.
Files changed (42) hide show
  1. package/bin/84.index.js +51 -39
  2. package/package.json +1 -1
  3. package/src/bin/eject-page.ts +52 -40
  4. package/src/bin/initialize-account-theme/boilerplate/KcPageStory.ts +1 -1
  5. package/stories/account/pages/account.stories.ts +6 -6
  6. package/stories/account/pages/applications.stories.ts +6 -7
  7. package/stories/account/pages/federated-identity.stories.ts +3 -3
  8. package/stories/account/pages/log.stories.ts +6 -6
  9. package/stories/account/pages/password.stories.ts +37 -45
  10. package/stories/account/pages/sessions.stories.ts +6 -6
  11. package/stories/account/pages/totp.stories.ts +2 -2
  12. package/stories/login/pages/code.stories.ts +3 -3
  13. package/stories/login/pages/delete-account-confirm.stories.ts +3 -3
  14. package/stories/login/pages/delete-credential.stories.ts +4 -4
  15. package/stories/login/pages/error.stories.ts +4 -4
  16. package/stories/login/pages/frontchannel-logout.stories.ts +1 -1
  17. package/stories/login/pages/idp-review-user-profile.stories.ts +3 -3
  18. package/stories/login/pages/info.stories.ts +7 -7
  19. package/stories/login/pages/login-config-totp.stories.ts +4 -4
  20. package/stories/login/pages/login-idp-link-confirm.stories.ts +4 -4
  21. package/stories/login/pages/login-idp-link-email.stories.ts +4 -4
  22. package/stories/login/pages/login-oauth-grant.stories.ts +3 -3
  23. package/stories/login/pages/login-otp.stories.ts +4 -4
  24. package/stories/login/pages/login-page-expired.stories.ts +1 -1
  25. package/stories/login/pages/login-password.stories.ts +2 -2
  26. package/stories/login/pages/login-recovery-authn-code-config.stories.ts +1 -1
  27. package/stories/login/pages/login-reset-otp.stories.ts +3 -3
  28. package/stories/login/pages/login-reset-password.stories.ts +2 -2
  29. package/stories/login/pages/login-update-password.stories.ts +2 -2
  30. package/stories/login/pages/login-update-profile.stories.ts +1 -1
  31. package/stories/login/pages/login-username.stories.ts +1 -1
  32. package/stories/login/pages/login-verify-email.stories.ts +4 -4
  33. package/stories/login/pages/login-x509-info.stories.ts +1 -1
  34. package/stories/login/pages/login.stories.ts +14 -14
  35. package/stories/login/pages/logout-confirm.stories.ts +1 -1
  36. package/stories/login/pages/register.stories.ts +13 -13
  37. package/stories/login/pages/select-authenticator.stories.ts +3 -3
  38. package/stories/login/pages/terms.stories.ts +4 -4
  39. package/stories/login/pages/update-email.stories.ts +1 -1
  40. package/stories/login/pages/webauthn-authenticate.stories.ts +4 -4
  41. package/stories/login/pages/webauthn-error.stories.ts +3 -3
  42. package/stories/login/pages/webauthn-register.stories.ts +2 -2
@@ -17,7 +17,7 @@ export const Default: Story = {};
17
17
 
18
18
  export const WithCustomCredentialLabel: Story = {
19
19
  globals: {
20
- overrides: {
20
+ kcContext: {
21
21
  credentialLabel: 'Test Credential',
22
22
  url: { loginAction: '/login-action' }
23
23
  }
@@ -26,7 +26,7 @@ export const WithCustomCredentialLabel: Story = {
26
26
 
27
27
  export const WithSuccessMessage: Story = {
28
28
  globals: {
29
- overrides: {
29
+ kcContext: {
30
30
  message: {
31
31
  type: 'success',
32
32
  summary: 'Credential has been successfully deleted.'
@@ -37,7 +37,7 @@ export const WithSuccessMessage: Story = {
37
37
 
38
38
  export const WithErrorMessage: Story = {
39
39
  globals: {
40
- overrides: {
40
+ kcContext: {
41
41
  message: {
42
42
  type: 'error',
43
43
  summary: 'Failed to delete the credential. Please try again.'
@@ -48,7 +48,7 @@ export const WithErrorMessage: Story = {
48
48
 
49
49
  export const WithDisabledDeleteButton: Story = {
50
50
  globals: {
51
- overrides: {
51
+ kcContext: {
52
52
  isDeleteButtonDisabled: true,
53
53
  credentialLabel: 'Non-deletable Credential'
54
54
  }
@@ -17,7 +17,7 @@ export const Default: Story = {};
17
17
 
18
18
  export const WithAnotherMessage: Story = {
19
19
  globals: {
20
- overrides: {
20
+ kcContext: {
21
21
  message: { summary: 'With another error message' }
22
22
  }
23
23
  }
@@ -25,7 +25,7 @@ export const WithAnotherMessage: Story = {
25
25
 
26
26
  export const WithHtmlErrorMessage: Story = {
27
27
  globals: {
28
- overrides: {
28
+ kcContext: {
29
29
  message: {
30
30
  summary:
31
31
  "<strong>Error:</strong> Something went wrong. <a href='https://example.com'>Go back</a>"
@@ -36,7 +36,7 @@ export const WithHtmlErrorMessage: Story = {
36
36
 
37
37
  export const FrenchError: Story = {
38
38
  globals: {
39
- overrides: {
39
+ kcContext: {
40
40
  locale: { currentLanguageTag: 'fr' },
41
41
  message: { summary: "Une erreur s'est produite" }
42
42
  }
@@ -45,7 +45,7 @@ export const FrenchError: Story = {
45
45
 
46
46
  export const WithSkipLink: Story = {
47
47
  globals: {
48
- overrides: {
48
+ kcContext: {
49
49
  message: { summary: 'An error occurred' },
50
50
  skipLink: true,
51
51
  client: {
@@ -17,7 +17,7 @@ export const Default: Story = {};
17
17
 
18
18
  export const WithoutRedirectUrl: Story = {
19
19
  globals: {
20
- overrides: {
20
+ kcContext: {
21
21
  logout: {
22
22
  clients: []
23
23
  }
@@ -18,7 +18,7 @@ export const Default: Story = {};
18
18
 
19
19
  export const WithFormValidationErrors: Story = {
20
20
  globals: {
21
- overrides: {
21
+ kcContext: {
22
22
  messagesPerField: {
23
23
  existsError: (fieldName: string) =>
24
24
  ['email', 'firstName'].includes(fieldName),
@@ -34,7 +34,7 @@ export const WithFormValidationErrors: Story = {
34
34
 
35
35
  export const WithReadOnlyFields: Story = {
36
36
  globals: {
37
- overrides: {
37
+ kcContext: {
38
38
  profile: {
39
39
  attributesByName: {
40
40
  email: { value: 'jane.doe@example.com', readOnly: true },
@@ -47,7 +47,7 @@ export const WithReadOnlyFields: Story = {
47
47
 
48
48
  export const WithPrefilledFormFields: Story = {
49
49
  globals: {
50
- overrides: {
50
+ kcContext: {
51
51
  profile: {
52
52
  attributesByName: {
53
53
  firstName: { value: 'Jane' },
@@ -15,7 +15,7 @@ type Story = StoryObj<KcPageStory>;
15
15
 
16
16
  export const Default: Story = {
17
17
  globals: {
18
- overrides: {
18
+ kcContext: {
19
19
  message: {
20
20
  summary: 'Server info message'
21
21
  }
@@ -25,7 +25,7 @@ export const Default: Story = {
25
25
 
26
26
  export const WithLinkBack: Story = {
27
27
  globals: {
28
- overrides: {
28
+ kcContext: {
29
29
  message: {
30
30
  summary: 'Server message'
31
31
  },
@@ -36,7 +36,7 @@ export const WithLinkBack: Story = {
36
36
 
37
37
  export const WithRequiredActions: Story = {
38
38
  globals: {
39
- overrides: {
39
+ kcContext: {
40
40
  message: {
41
41
  summary: 'Required actions: '
42
42
  },
@@ -57,7 +57,7 @@ export const WithRequiredActions: Story = {
57
57
 
58
58
  export const WithPageRedirect: Story = {
59
59
  globals: {
60
- overrides: {
60
+ kcContext: {
61
61
  message: { summary: 'You will be redirected shortly.' },
62
62
  pageRedirectUri: 'https://example.com'
63
63
  }
@@ -66,7 +66,7 @@ export const WithPageRedirect: Story = {
66
66
 
67
67
  export const WithoutClientBaseUrl: Story = {
68
68
  globals: {
69
- overrides: {
69
+ kcContext: {
70
70
  message: { summary: 'No client base URL defined.' },
71
71
  client: { baseUrl: undefined }
72
72
  }
@@ -75,7 +75,7 @@ export const WithoutClientBaseUrl: Story = {
75
75
 
76
76
  export const WithMessageHeader: Story = {
77
77
  globals: {
78
- overrides: {
78
+ kcContext: {
79
79
  messageHeader: 'Important Notice',
80
80
  message: { summary: 'This is an important message.' }
81
81
  }
@@ -84,7 +84,7 @@ export const WithMessageHeader: Story = {
84
84
 
85
85
  export const WithAdvancedMessage: Story = {
86
86
  globals: {
87
- overrides: {
87
+ kcContext: {
88
88
  message: {
89
89
  summary:
90
90
  'Please take note of this <strong>important</strong> information.'
@@ -17,7 +17,7 @@ export const Default: Story = {};
17
17
 
18
18
  export const WithManualSetUp: Story = {
19
19
  globals: {
20
- overrides: {
20
+ kcContext: {
21
21
  mode: 'manual'
22
22
  }
23
23
  }
@@ -25,7 +25,7 @@ export const WithManualSetUp: Story = {
25
25
 
26
26
  export const WithError: Story = {
27
27
  globals: {
28
- overrides: {
28
+ kcContext: {
29
29
  messagesPerField: {
30
30
  get: (fieldName: string) =>
31
31
  fieldName === 'totp' ? 'Invalid TOTP' : undefined,
@@ -40,7 +40,7 @@ export const WithError: Story = {
40
40
 
41
41
  export const WithAppInitiatedAction: Story = {
42
42
  globals: {
43
- overrides: {
43
+ kcContext: {
44
44
  isAppInitiatedAction: true
45
45
  }
46
46
  }
@@ -48,7 +48,7 @@ export const WithAppInitiatedAction: Story = {
48
48
 
49
49
  export const WithPreFilledUserLabel: Story = {
50
50
  globals: {
51
- overrides: {
51
+ kcContext: {
52
52
  totp: {
53
53
  otpCredentials: [{ userLabel: 'MyDevice' }]
54
54
  }
@@ -21,7 +21,7 @@ const meta: Meta<KcPageStory> = {
21
21
  decorators: decorators,
22
22
  globals: {
23
23
  pageId: 'login-idp-link-confirm.ftl',
24
- overrides: {
24
+ kcContext: {
25
25
  kcContext: mockKcContext
26
26
  }
27
27
  }
@@ -47,7 +47,7 @@ export const Default: Story = {};
47
47
  */
48
48
  export const WithIdpAlias: Story = {
49
49
  globals: {
50
- overrides: {
50
+ kcContext: {
51
51
  ...mockKcContext,
52
52
  idpAlias: 'Google',
53
53
  brokerContext: {
@@ -68,7 +68,7 @@ export const WithIdpAlias: Story = {
68
68
  */
69
69
  export const WithCustomRealmDisplayName: Story = {
70
70
  globals: {
71
- overrides: {
71
+ kcContext: {
72
72
  ...mockKcContext,
73
73
  idpAlias: 'Facebook',
74
74
  brokerContext: {
@@ -89,7 +89,7 @@ export const WithCustomRealmDisplayName: Story = {
89
89
  */
90
90
  export const WithFormSubmissionError: Story = {
91
91
  globals: {
92
- overrides: {
92
+ kcContext: {
93
93
  ...mockKcContext,
94
94
  url: {
95
95
  loginAction: '/error'
@@ -20,7 +20,7 @@ const meta: Meta<KcPageStory> = {
20
20
  decorators: decorators,
21
21
  globals: {
22
22
  pageId: 'login-idp-link-email.ftl',
23
- overrides: {
23
+ kcContext: {
24
24
  mockKcContext
25
25
  }
26
26
  }
@@ -46,7 +46,7 @@ export const Default: Story = {};
46
46
  */
47
47
  export const WithIdpAlias: Story = {
48
48
  globals: {
49
- overrides: {
49
+ kcContext: {
50
50
  ...mockKcContext,
51
51
  idpAlias: 'Google',
52
52
  brokerContext: {
@@ -67,7 +67,7 @@ export const WithIdpAlias: Story = {
67
67
  */
68
68
  export const WithCustomRealmDisplayName: Story = {
69
69
  globals: {
70
- overrides: {
70
+ kcContext: {
71
71
  ...mockKcContext,
72
72
  idpAlias: 'Facebook',
73
73
  brokerContext: {
@@ -88,7 +88,7 @@ export const WithCustomRealmDisplayName: Story = {
88
88
  */
89
89
  export const WithFormSubmissionError: Story = {
90
90
  globals: {
91
- overrides: {
91
+ kcContext: {
92
92
  ...mockKcContext,
93
93
  url: {
94
94
  loginAction: '/error'
@@ -36,13 +36,13 @@ type Story = StoryObj<KcPageStory>;
36
36
 
37
37
  export const Default: Story = {
38
38
  globals: {
39
- overrides: mockKcContext
39
+ kcContext: mockKcContext
40
40
  }
41
41
  };
42
42
 
43
43
  export const WithoutScopes: Story = {
44
44
  globals: {
45
- overrides: {
45
+ kcContext: {
46
46
  ...mockKcContext,
47
47
  oauth: {
48
48
  ...mockKcContext.oauth,
@@ -54,7 +54,7 @@ export const WithoutScopes: Story = {
54
54
 
55
55
  export const WithFormSubmissionError: Story = {
56
56
  globals: {
57
- overrides: {
57
+ kcContext: {
58
58
  ...mockKcContext,
59
59
  url: {
60
60
  oauthAction: '/error'
@@ -17,7 +17,7 @@ export const Default: Story = {};
17
17
 
18
18
  export const MultipleOtpCredentials: Story = {
19
19
  globals: {
20
- overrides: {
20
+ kcContext: {
21
21
  otpLogin: {
22
22
  userOtpCredentials: [
23
23
  { id: 'credential1', userLabel: 'Device 1' },
@@ -41,7 +41,7 @@ export const MultipleOtpCredentials: Story = {
41
41
 
42
42
  export const WithOtpError: Story = {
43
43
  globals: {
44
- overrides: {
44
+ kcContext: {
45
45
  otpLogin: {
46
46
  userOtpCredentials: []
47
47
  },
@@ -58,7 +58,7 @@ export const WithOtpError: Story = {
58
58
 
59
59
  export const NoOtpCredentials: Story = {
60
60
  globals: {
61
- overrides: {
61
+ kcContext: {
62
62
  otpLogin: {
63
63
  userOtpCredentials: []
64
64
  },
@@ -74,7 +74,7 @@ export const NoOtpCredentials: Story = {
74
74
 
75
75
  export const WithErrorAndMultipleOtpCredentials: Story = {
76
76
  globals: {
77
- overrides: {
77
+ kcContext: {
78
78
  otpLogin: {
79
79
  userOtpCredentials: [
80
80
  { id: 'credential1', userLabel: 'Device 1' },
@@ -17,7 +17,7 @@ export const Default: Story = {};
17
17
 
18
18
  export const WithErrorMessage: Story = {
19
19
  globals: {
20
- overrides: {
20
+ kcContext: {
21
21
  url: {
22
22
  loginRestartFlowUrl: '/mock-restart-flow',
23
23
  loginAction: '/mock-continue-login'
@@ -18,7 +18,7 @@ export const Default: Story = {};
18
18
 
19
19
  export const WithPasswordError: Story = {
20
20
  globals: {
21
- overrides: {
21
+ kcContext: {
22
22
  realm: {
23
23
  resetPasswordAllowed: true
24
24
  },
@@ -36,7 +36,7 @@ export const WithPasswordError: Story = {
36
36
 
37
37
  export const WithoutResetPasswordOption: Story = {
38
38
  globals: {
39
- overrides: {
39
+ kcContext: {
40
40
  realm: {
41
41
  resetPasswordAllowed: false
42
42
  },
@@ -17,7 +17,7 @@ export const Default: Story = {};
17
17
 
18
18
  export const WithErrorDuringCodeGeneration: Story = {
19
19
  globals: {
20
- overrides: {
20
+ kcContext: {
21
21
  url: {
22
22
  loginAction: '/mock-login-action'
23
23
  },
@@ -17,7 +17,7 @@ export const Default: Story = {};
17
17
 
18
18
  export const WithoutOtpCredentials: Story = {
19
19
  globals: {
20
- overrides: {
20
+ kcContext: {
21
21
  url: {
22
22
  loginAction: '/mock-login'
23
23
  },
@@ -34,7 +34,7 @@ export const WithoutOtpCredentials: Story = {
34
34
 
35
35
  export const WithOtpError: Story = {
36
36
  globals: {
37
- overrides: {
37
+ kcContext: {
38
38
  url: {
39
39
  loginAction: '/mock-login'
40
40
  },
@@ -55,7 +55,7 @@ export const WithOtpError: Story = {
55
55
 
56
56
  export const WithOnlyOneOtpCredential: Story = {
57
57
  globals: {
58
- overrides: {
58
+ kcContext: {
59
59
  url: {
60
60
  loginAction: '/mock-login'
61
61
  },
@@ -17,7 +17,7 @@ export const Default: Story = {};
17
17
 
18
18
  export const WithEmailAsUsername: Story = {
19
19
  globals: {
20
- overrides: {
20
+ kcContext: {
21
21
  realm: {
22
22
  loginWithEmailAllowed: true,
23
23
  registrationEmailAsUsername: true
@@ -28,7 +28,7 @@ export const WithEmailAsUsername: Story = {
28
28
 
29
29
  export const WithUsernameError: Story = {
30
30
  globals: {
31
- overrides: {
31
+ kcContext: {
32
32
  realm: {
33
33
  loginWithEmailAllowed: false,
34
34
  registrationEmailAsUsername: false,
@@ -17,7 +17,7 @@ export const Default: Story = {};
17
17
 
18
18
  export const WithPasswordError: Story = {
19
19
  globals: {
20
- overrides: {
20
+ kcContext: {
21
21
  url: {
22
22
  loginAction: '/mock-login-action'
23
23
  },
@@ -32,7 +32,7 @@ export const WithPasswordError: Story = {
32
32
 
33
33
  export const WithPasswordConfirmError: Story = {
34
34
  globals: {
35
- overrides: {
35
+ kcContext: {
36
36
  url: {
37
37
  loginAction: '/mock-login-action'
38
38
  },
@@ -17,7 +17,7 @@ export const Default: Story = {};
17
17
 
18
18
  export const WithProfileError: Story = {
19
19
  globals: {
20
- overrides: {
20
+ kcContext: {
21
21
  url: {
22
22
  loginAction: '/mock-login-action'
23
23
  },
@@ -18,7 +18,7 @@ export const Default: Story = {};
18
18
 
19
19
  export const WithEmailAsUsername: Story = {
20
20
  globals: {
21
- overrides: {
21
+ kcContext: {
22
22
  realm: {
23
23
  loginWithEmailAllowed: true,
24
24
  registrationEmailAsUsername: true
@@ -16,7 +16,7 @@ type Story = StoryObj<KcPageStory>;
16
16
 
17
17
  export const Default: Story = {
18
18
  globals: {
19
- overrides: {
19
+ kcContext: {
20
20
  message: {
21
21
  summary: 'You need to verify your email to activate your account.',
22
22
  type: 'warning'
@@ -36,7 +36,7 @@ export const Default: Story = {
36
36
  */
37
37
  export const WithSuccessMessage: Story = {
38
38
  globals: {
39
- overrides: {
39
+ kcContext: {
40
40
  message: {
41
41
  summary: 'Your email has been successfully verified.',
42
42
  type: 'success'
@@ -59,7 +59,7 @@ export const WithSuccessMessage: Story = {
59
59
  */
60
60
  export const WithErrorMessage: Story = {
61
61
  globals: {
62
- overrides: {
62
+ kcContext: {
63
63
  message: {
64
64
  summary: 'There was an error verifying your email. Please try again.',
65
65
  type: 'error'
@@ -82,7 +82,7 @@ export const WithErrorMessage: Story = {
82
82
  */
83
83
  export const WithInfoMessage: Story = {
84
84
  globals: {
85
- overrides: {
85
+ kcContext: {
86
86
  message: {
87
87
  summary: 'Please verify your email to continue using our services.',
88
88
  type: 'info'
@@ -24,7 +24,7 @@ export const Default: Story = {};
24
24
  */
25
25
  export const WithoutUserEnabled: Story = {
26
26
  globals: {
27
- overrides: {
27
+ kcContext: {
28
28
  url: {
29
29
  loginAction: '/mock-login-action'
30
30
  },
@@ -17,7 +17,7 @@ export const Default: Story = {};
17
17
 
18
18
  export const WithInvalidCredential: Story = {
19
19
  globals: {
20
- overrides: {
20
+ kcContext: {
21
21
  login: {
22
22
  username: 'johndoe'
23
23
  },
@@ -40,7 +40,7 @@ export const WithInvalidCredential: Story = {
40
40
 
41
41
  export const WithoutRegistration: Story = {
42
42
  globals: {
43
- overrides: {
43
+ kcContext: {
44
44
  realm: { registrationAllowed: false }
45
45
  }
46
46
  }
@@ -48,7 +48,7 @@ export const WithoutRegistration: Story = {
48
48
 
49
49
  export const WithoutRememberMe: Story = {
50
50
  globals: {
51
- overrides: {
51
+ kcContext: {
52
52
  realm: { rememberMe: false }
53
53
  }
54
54
  }
@@ -56,7 +56,7 @@ export const WithoutRememberMe: Story = {
56
56
 
57
57
  export const WithoutPasswordReset: Story = {
58
58
  globals: {
59
- overrides: {
59
+ kcContext: {
60
60
  realm: { resetPasswordAllowed: false }
61
61
  }
62
62
  }
@@ -64,7 +64,7 @@ export const WithoutPasswordReset: Story = {
64
64
 
65
65
  export const WithEmailAsUsername: Story = {
66
66
  globals: {
67
- overrides: {
67
+ kcContext: {
68
68
  realm: { loginWithEmailAllowed: false }
69
69
  }
70
70
  }
@@ -72,7 +72,7 @@ export const WithEmailAsUsername: Story = {
72
72
 
73
73
  export const WithPresetUsername: Story = {
74
74
  globals: {
75
- overrides: {
75
+ kcContext: {
76
76
  login: { username: 'max.mustermann@mail.com' }
77
77
  }
78
78
  }
@@ -80,7 +80,7 @@ export const WithPresetUsername: Story = {
80
80
 
81
81
  export const WithImmutablePresetUsername: Story = {
82
82
  globals: {
83
- overrides: {
83
+ kcContext: {
84
84
  auth: {
85
85
  attemptedUsername: 'max.mustermann@mail.com',
86
86
  showUsername: true
@@ -96,7 +96,7 @@ export const WithImmutablePresetUsername: Story = {
96
96
 
97
97
  export const WithSocialProviders: Story = {
98
98
  globals: {
99
- overrides: {
99
+ kcContext: {
100
100
  social: {
101
101
  displayInfo: true,
102
102
  providers: [
@@ -136,7 +136,7 @@ export const WithSocialProviders: Story = {
136
136
 
137
137
  export const WithoutPasswordField: Story = {
138
138
  globals: {
139
- overrides: {
139
+ kcContext: {
140
140
  realm: { password: false }
141
141
  }
142
142
  }
@@ -144,7 +144,7 @@ export const WithoutPasswordField: Story = {
144
144
 
145
145
  export const WithErrorMessage: Story = {
146
146
  globals: {
147
- overrides: {
147
+ kcContext: {
148
148
  message: {
149
149
  summary:
150
150
  'The time allotted for the connection has elapsed.<br/>The login process will restart from the beginning.',
@@ -156,7 +156,7 @@ export const WithErrorMessage: Story = {
156
156
 
157
157
  export const WithOneSocialProvider: Story = {
158
158
  globals: {
159
- overrides: {
159
+ kcContext: {
160
160
  social: {
161
161
  displayInfo: true,
162
162
  providers: [
@@ -175,7 +175,7 @@ export const WithOneSocialProvider: Story = {
175
175
 
176
176
  export const WithTwoSocialProviders: Story = {
177
177
  globals: {
178
- overrides: {
178
+ kcContext: {
179
179
  social: {
180
180
  displayInfo: true,
181
181
  providers: [
@@ -201,7 +201,7 @@ export const WithTwoSocialProviders: Story = {
201
201
 
202
202
  export const WithMoreThanTwoSocialProviders: Story = {
203
203
  globals: {
204
- overrides: {
204
+ kcContext: {
205
205
  social: {
206
206
  displayInfo: true,
207
207
  providers: [
@@ -241,7 +241,7 @@ export const WithMoreThanTwoSocialProviders: Story = {
241
241
 
242
242
  export const WithSocialProvidersAndWithoutRememberMe: Story = {
243
243
  globals: {
244
- overrides: {
244
+ kcContext: {
245
245
  social: {
246
246
  displayInfo: true,
247
247
  providers: [
@@ -24,7 +24,7 @@ export const Default: Story = {};
24
24
  */
25
25
  export const WithCustomLogoutMessage: Story = {
26
26
  globals: {
27
- overrides: {
27
+ kcContext: {
28
28
  url: {
29
29
  logoutConfirmAction: '/mock-logout-action'
30
30
  },