@keycloakify/angular 0.1.3 → 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 (40) hide show
  1. package/package.json +1 -1
  2. package/src/bin/initialize-account-theme/boilerplate/KcPageStory.ts +1 -1
  3. package/stories/account/pages/account.stories.ts +6 -6
  4. package/stories/account/pages/applications.stories.ts +6 -7
  5. package/stories/account/pages/federated-identity.stories.ts +3 -3
  6. package/stories/account/pages/log.stories.ts +6 -6
  7. package/stories/account/pages/password.stories.ts +37 -45
  8. package/stories/account/pages/sessions.stories.ts +6 -6
  9. package/stories/account/pages/totp.stories.ts +2 -2
  10. package/stories/login/pages/code.stories.ts +3 -3
  11. package/stories/login/pages/delete-account-confirm.stories.ts +3 -3
  12. package/stories/login/pages/delete-credential.stories.ts +4 -4
  13. package/stories/login/pages/error.stories.ts +4 -4
  14. package/stories/login/pages/frontchannel-logout.stories.ts +1 -1
  15. package/stories/login/pages/idp-review-user-profile.stories.ts +3 -3
  16. package/stories/login/pages/info.stories.ts +7 -7
  17. package/stories/login/pages/login-config-totp.stories.ts +4 -4
  18. package/stories/login/pages/login-idp-link-confirm.stories.ts +4 -4
  19. package/stories/login/pages/login-idp-link-email.stories.ts +4 -4
  20. package/stories/login/pages/login-oauth-grant.stories.ts +3 -3
  21. package/stories/login/pages/login-otp.stories.ts +4 -4
  22. package/stories/login/pages/login-page-expired.stories.ts +1 -1
  23. package/stories/login/pages/login-password.stories.ts +2 -2
  24. package/stories/login/pages/login-recovery-authn-code-config.stories.ts +1 -1
  25. package/stories/login/pages/login-reset-otp.stories.ts +3 -3
  26. package/stories/login/pages/login-reset-password.stories.ts +2 -2
  27. package/stories/login/pages/login-update-password.stories.ts +2 -2
  28. package/stories/login/pages/login-update-profile.stories.ts +1 -1
  29. package/stories/login/pages/login-username.stories.ts +1 -1
  30. package/stories/login/pages/login-verify-email.stories.ts +4 -4
  31. package/stories/login/pages/login-x509-info.stories.ts +1 -1
  32. package/stories/login/pages/login.stories.ts +14 -14
  33. package/stories/login/pages/logout-confirm.stories.ts +1 -1
  34. package/stories/login/pages/register.stories.ts +13 -13
  35. package/stories/login/pages/select-authenticator.stories.ts +3 -3
  36. package/stories/login/pages/terms.stories.ts +4 -4
  37. package/stories/login/pages/update-email.stories.ts +1 -1
  38. package/stories/login/pages/webauthn-authenticate.stories.ts +4 -4
  39. package/stories/login/pages/webauthn-error.stories.ts +3 -3
  40. package/stories/login/pages/webauthn-register.stories.ts +2 -2
@@ -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
  },
@@ -19,7 +19,7 @@ export const Default: Story = {};
19
19
 
20
20
  export const WithEmailAlreadyExists: Story = {
21
21
  globals: {
22
- overrides: {
22
+ kcContext: {
23
23
  messagesPerField: {
24
24
  existsError: (fieldName: string, ...otherFieldNames: string[]) =>
25
25
  [fieldName, ...otherFieldNames].includes('email'),
@@ -32,7 +32,7 @@ export const WithEmailAlreadyExists: Story = {
32
32
 
33
33
  export const WithRestrictedToMITStudents: Story = {
34
34
  globals: {
35
- overrides: {
35
+ kcContext: {
36
36
  'x-keycloakify': {
37
37
  messages: {
38
38
  'profile.attributes.email.inputHelperTextBefore':
@@ -47,7 +47,7 @@ export const WithRestrictedToMITStudents: Story = {
47
47
 
48
48
  export const WithFavoritePet: Story = {
49
49
  globals: {
50
- overrides: {
50
+ kcContext: {
51
51
  profile: {
52
52
  attributesByName: {
53
53
  favoritePet: {
@@ -81,7 +81,7 @@ export const WithFavoritePet: Story = {
81
81
 
82
82
  export const WithNewsletter: Story = {
83
83
  globals: {
84
- overrides: {
84
+ kcContext: {
85
85
  profile: {
86
86
  attributesByName: {
87
87
  newsletter: {
@@ -109,7 +109,7 @@ export const WithNewsletter: Story = {
109
109
 
110
110
  export const WithEmailAsUsername: Story = {
111
111
  globals: {
112
- overrides: {
112
+ kcContext: {
113
113
  realm: {
114
114
  registrationEmailAsUsername: true
115
115
  },
@@ -124,7 +124,7 @@ export const WithEmailAsUsername: Story = {
124
124
 
125
125
  export const WithRecaptcha: Story = {
126
126
  globals: {
127
- overrides: {
127
+ kcContext: {
128
128
  scripts: ['https://www.google.com/recaptcha/api.js?hl=en'],
129
129
  recaptchaRequired: true,
130
130
  recaptchaSiteKey: '6LfQHvApAAAAAE73SYTd5vS0lB1Xr7zdiQ-6iBVa'
@@ -134,7 +134,7 @@ export const WithRecaptcha: Story = {
134
134
 
135
135
  export const WithRecaptchaFrench: Story = {
136
136
  globals: {
137
- overrides: {
137
+ kcContext: {
138
138
  locale: {
139
139
  currentLanguageTag: 'fr'
140
140
  },
@@ -147,7 +147,7 @@ export const WithRecaptchaFrench: Story = {
147
147
 
148
148
  export const WithPasswordMinLength8: Story = {
149
149
  globals: {
150
- overrides: {
150
+ kcContext: {
151
151
  passwordPolicies: {
152
152
  length: 8
153
153
  }
@@ -157,7 +157,7 @@ export const WithPasswordMinLength8: Story = {
157
157
 
158
158
  export const WithTermsAcceptance: Story = {
159
159
  globals: {
160
- overrides: {
160
+ kcContext: {
161
161
  termsAcceptanceRequired: true,
162
162
  'x-keycloakify': {
163
163
  messages: {
@@ -171,7 +171,7 @@ export const WithTermsAcceptance: Story = {
171
171
 
172
172
  export const WithTermsNotAccepted: Story = {
173
173
  globals: {
174
- overrides: {
174
+ kcContext: {
175
175
  termsAcceptanceRequired: true,
176
176
  messagesPerField: {
177
177
  existsError: (fieldName: string) => fieldName === 'termsAccepted',
@@ -184,7 +184,7 @@ export const WithTermsNotAccepted: Story = {
184
184
 
185
185
  export const WithFieldErrors: Story = {
186
186
  globals: {
187
- overrides: {
187
+ kcContext: {
188
188
  profile: {
189
189
  attributesByName: {
190
190
  username: { value: '' },
@@ -206,7 +206,7 @@ export const WithFieldErrors: Story = {
206
206
 
207
207
  export const WithReadOnlyFields: Story = {
208
208
  globals: {
209
- overrides: {
209
+ kcContext: {
210
210
  profile: {
211
211
  attributesByName: {
212
212
  username: { value: 'johndoe', readOnly: true },
@@ -219,7 +219,7 @@ export const WithReadOnlyFields: Story = {
219
219
 
220
220
  export const WithAutoGeneratedUsername: Story = {
221
221
  globals: {
222
- overrides: {
222
+ kcContext: {
223
223
  profile: {
224
224
  attributesByName: {
225
225
  username: { value: 'autogenerated_username' }
@@ -18,7 +18,7 @@ export const Default: Story = {};
18
18
 
19
19
  export const WithDifferentAuthenticationMethods: Story = {
20
20
  globals: {
21
- overrides: {
21
+ kcContext: {
22
22
  auth: {
23
23
  authenticationSelections: [
24
24
  {
@@ -41,7 +41,7 @@ export const WithDifferentAuthenticationMethods: Story = {
41
41
 
42
42
  export const WithRealmTranslations: Story = {
43
43
  globals: {
44
- overrides: {
44
+ kcContext: {
45
45
  auth: {
46
46
  authenticationSelections: [
47
47
  {
@@ -83,7 +83,7 @@ export const WithRealmTranslations: Story = {
83
83
 
84
84
  export const WithoutAuthenticationSelections: Story = {
85
85
  globals: {
86
- overrides: {
86
+ kcContext: {
87
87
  url: {
88
88
  loginAction: '/mock-login-action'
89
89
  },
@@ -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
  'x-keycloakify': {
21
21
  messages: {
22
22
  termsText: '<p>My terms in <strong>English</strong></p>'
@@ -28,7 +28,7 @@ export const Default: Story = {
28
28
 
29
29
  export const French: Story = {
30
30
  globals: {
31
- overrides: {
31
+ kcContext: {
32
32
  locale: {
33
33
  currentLanguageTag: 'fr'
34
34
  },
@@ -43,7 +43,7 @@ export const French: Story = {
43
43
 
44
44
  export const Spanish: Story = {
45
45
  globals: {
46
- overrides: {
46
+ kcContext: {
47
47
  locale: {
48
48
  currentLanguageTag: 'es'
49
49
  },
@@ -58,7 +58,7 @@ export const Spanish: Story = {
58
58
 
59
59
  export const LongMessage: Story = {
60
60
  globals: {
61
- overrides: {
61
+ kcContext: {
62
62
  'x-keycloakify': {
63
63
  messages: {
64
64
  termsText: `
@@ -18,7 +18,7 @@ export const Default: Story = {};
18
18
 
19
19
  export const WithAppInitiatedAction: Story = {
20
20
  globals: {
21
- overrides: {
21
+ kcContext: {
22
22
  url: {
23
23
  loginAction: '/mock-login-action'
24
24
  },
@@ -18,7 +18,7 @@ export const Default: Story = {};
18
18
 
19
19
  export const WithMultipleAuthenticators: Story = {
20
20
  globals: {
21
- overrides: {
21
+ kcContext: {
22
22
  url: {
23
23
  loginAction: '/mock-login-action'
24
24
  },
@@ -51,7 +51,7 @@ export const WithMultipleAuthenticators: Story = {
51
51
 
52
52
  export const WithSingleAuthenticator: Story = {
53
53
  globals: {
54
- overrides: {
54
+ kcContext: {
55
55
  url: {
56
56
  loginAction: '/mock-login-action'
57
57
  },
@@ -75,7 +75,7 @@ export const WithSingleAuthenticator: Story = {
75
75
 
76
76
  export const WithErrorDuringAuthentication: Story = {
77
77
  globals: {
78
- overrides: {
78
+ kcContext: {
79
79
  url: {
80
80
  loginAction: '/mock-login-action'
81
81
  },
@@ -103,7 +103,7 @@ export const WithErrorDuringAuthentication: Story = {
103
103
 
104
104
  export const WithJavaScriptDisabled: Story = {
105
105
  globals: {
106
- overrides: {
106
+ kcContext: {
107
107
  url: {
108
108
  loginAction: '/mock-login-action'
109
109
  },
@@ -18,7 +18,7 @@ export const Default: Story = {};
18
18
 
19
19
  export const WithRetryAvailable: Story = {
20
20
  globals: {
21
- overrides: {
21
+ kcContext: {
22
22
  url: {
23
23
  loginAction: '/mock-login-action'
24
24
  },
@@ -33,7 +33,7 @@ export const WithRetryAvailable: Story = {
33
33
 
34
34
  export const WithAppInitiatedAction: Story = {
35
35
  globals: {
36
- overrides: {
36
+ kcContext: {
37
37
  url: {
38
38
  loginAction: '/mock-login-action'
39
39
  },
@@ -48,7 +48,7 @@ export const WithAppInitiatedAction: Story = {
48
48
 
49
49
  export const WithJavaScriptDisabled: Story = {
50
50
  globals: {
51
- overrides: {
51
+ kcContext: {
52
52
  url: {
53
53
  loginAction: '/mock-login-action'
54
54
  },
@@ -18,7 +18,7 @@ export const Default: Story = {};
18
18
 
19
19
  export const WithRetryAvailable: Story = {
20
20
  globals: {
21
- overrides: {
21
+ kcContext: {
22
22
  url: {
23
23
  loginAction: '/mock-login-action'
24
24
  },
@@ -30,7 +30,7 @@ export const WithRetryAvailable: Story = {
30
30
 
31
31
  export const WithErrorDuringRegistration: Story = {
32
32
  globals: {
33
- overrides: {
33
+ kcContext: {
34
34
  url: {
35
35
  loginAction: '/mock-login-action'
36
36
  },