@sbc-connect/nuxt-auth 0.0.0-test-ld-20260520212549

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 (181) hide show
  1. package/.env.example +35 -0
  2. package/CHANGELOG.md +495 -0
  3. package/LICENSE +28 -0
  4. package/README.md +58 -0
  5. package/app/app.config.ts +22 -0
  6. package/app/components/Connect/Account/Create/Name.vue +73 -0
  7. package/app/components/Connect/Account/Create/index.vue +148 -0
  8. package/app/components/Connect/Account/Existing/Alert.vue +10 -0
  9. package/app/components/Connect/Account/Existing/List/Item.vue +54 -0
  10. package/app/components/Connect/Account/Existing/List/index.vue +30 -0
  11. package/app/components/Connect/Header/AccountLabel.vue +39 -0
  12. package/app/components/Connect/Header/AccountOptionsMenu.vue +52 -0
  13. package/app/components/Connect/Header/Auth.vue +14 -0
  14. package/app/components/Connect/Header/AuthenticatedOptions.vue +13 -0
  15. package/app/components/Connect/Header/CreateAccountButton.vue +13 -0
  16. package/app/components/Connect/Header/LoginMenu.vue +27 -0
  17. package/app/components/Connect/Header/Notifications.vue +30 -0
  18. package/app/components/Connect/Header/UnauthenticatedOptions.vue +15 -0
  19. package/app/components/Connect/Layout/Auth.vue +19 -0
  20. package/app/components/Connect/Modal/InvalidIdp.vue +55 -0
  21. package/app/components/Connect/Modal/SessionExpired.vue +107 -0
  22. package/app/components/Connect/TermsOfUse/Content.vue +28 -0
  23. package/app/components/Connect/TermsOfUse/Form.vue +101 -0
  24. package/app/components/HelloWorld/Auth.vue +12 -0
  25. package/app/composables/useAuthApi.ts +156 -0
  26. package/app/composables/useConnectAccountFlowRedirect.ts +54 -0
  27. package/app/composables/useConnectAppConfig.ts +31 -0
  28. package/app/composables/useConnectAuth.ts +90 -0
  29. package/app/composables/useConnectAuthModals.ts +76 -0
  30. package/app/composables/useConnectHeaderOptions.ts +236 -0
  31. package/app/composables/useConnectLaunchDarkly.ts +250 -0
  32. package/app/coverage/app/app.config.ts.html +148 -0
  33. package/app/coverage/app/components/Connect/Account/Create/Name.vue.html +304 -0
  34. package/app/coverage/app/components/Connect/Account/Create/index.html +131 -0
  35. package/app/coverage/app/components/Connect/Account/Create/index.vue.html +487 -0
  36. package/app/coverage/app/components/Connect/Account/Existing/Alert.vue.html +115 -0
  37. package/app/coverage/app/components/Connect/Account/Existing/List/Item.vue.html +247 -0
  38. package/app/coverage/app/components/Connect/Account/Existing/List/index.html +131 -0
  39. package/app/coverage/app/components/Connect/Account/Existing/List/index.vue.html +175 -0
  40. package/app/coverage/app/components/Connect/Account/Existing/index.html +116 -0
  41. package/app/coverage/app/components/Connect/Header/AccountLabel.vue.html +202 -0
  42. package/app/coverage/app/components/Connect/Header/AccountOptionsMenu.vue.html +241 -0
  43. package/app/coverage/app/components/Connect/Header/Auth.vue.html +127 -0
  44. package/app/coverage/app/components/Connect/Header/AuthenticatedOptions.vue.html +124 -0
  45. package/app/coverage/app/components/Connect/Header/CreateAccountButton.vue.html +124 -0
  46. package/app/coverage/app/components/Connect/Header/LoginMenu.vue.html +166 -0
  47. package/app/coverage/app/components/Connect/Header/Notifications.vue.html +175 -0
  48. package/app/coverage/app/components/Connect/Header/UnauthenticatedOptions.vue.html +130 -0
  49. package/app/coverage/app/components/Connect/Header/index.html +221 -0
  50. package/app/coverage/app/components/Connect/Layout/Auth.vue.html +142 -0
  51. package/app/coverage/app/components/Connect/Layout/index.html +116 -0
  52. package/app/coverage/app/components/Connect/Modal/SessionExpired.vue.html +364 -0
  53. package/app/coverage/app/components/Connect/Modal/index.html +116 -0
  54. package/app/coverage/app/components/Connect/TermsOfUse/Content.vue.html +169 -0
  55. package/app/coverage/app/components/Connect/TermsOfUse/Form.vue.html +388 -0
  56. package/app/coverage/app/components/Connect/TermsOfUse/index.html +131 -0
  57. package/app/coverage/app/components/HelloWorld/Auth.vue.html +121 -0
  58. package/app/coverage/app/components/HelloWorld/index.html +116 -0
  59. package/app/coverage/app/composables/index.html +191 -0
  60. package/app/coverage/app/composables/useAuthApi.ts.html +547 -0
  61. package/app/coverage/app/composables/useConnectAccountFlowRedirect.ts.html +202 -0
  62. package/app/coverage/app/composables/useConnectAuth.ts.html +352 -0
  63. package/app/coverage/app/composables/useConnectAuthModals.ts.html +313 -0
  64. package/app/coverage/app/composables/useConnectHeaderOptions.ts.html +781 -0
  65. package/app/coverage/app/composables/useConnectLaunchDarkly.ts.html +820 -0
  66. package/app/coverage/app/enums/account-status.ts.html +112 -0
  67. package/app/coverage/app/enums/account-type.ts.html +103 -0
  68. package/app/coverage/app/enums/connect-access-type.ts.html +94 -0
  69. package/app/coverage/app/enums/connect-auth-storage-key.ts.html +94 -0
  70. package/app/coverage/app/enums/connect-idp-hint.ts.html +103 -0
  71. package/app/coverage/app/enums/connect-login-source.ts.html +103 -0
  72. package/app/coverage/app/enums/connect-payment-method.ts.html +94 -0
  73. package/app/coverage/app/enums/connect-product-code.ts.html +94 -0
  74. package/app/coverage/app/enums/connect-product-type.ts.html +94 -0
  75. package/app/coverage/app/enums/index.html +251 -0
  76. package/app/coverage/app/enums/user-settings-type.ts.html +100 -0
  77. package/app/coverage/app/index.html +116 -0
  78. package/app/coverage/app/interfaces/connect-account-address.ts.html +88 -0
  79. package/app/coverage/app/interfaces/connect-account.ts.html +154 -0
  80. package/app/coverage/app/interfaces/connect-auth-contact.ts.html +130 -0
  81. package/app/coverage/app/interfaces/connect-auth-profile.ts.html +157 -0
  82. package/app/coverage/app/interfaces/connect-auth-user.ts.html +115 -0
  83. package/app/coverage/app/interfaces/connect-terms-of-use.ts.html +103 -0
  84. package/app/coverage/app/interfaces/connect-user-settings.ts.html +115 -0
  85. package/app/coverage/app/interfaces/index.html +206 -0
  86. package/app/coverage/app/layouts/ConnectAuth.vue.html +100 -0
  87. package/app/coverage/app/layouts/index.html +116 -0
  88. package/app/coverage/app/middleware/01.setup-accounts.global.ts.html +124 -0
  89. package/app/coverage/app/middleware/02.keycloak-params.global.ts.html +130 -0
  90. package/app/coverage/app/middleware/03.allowed-idps.global.ts.html +145 -0
  91. package/app/coverage/app/middleware/connect-auth.ts.html +238 -0
  92. package/app/coverage/app/middleware/connect-login-page.ts.html +163 -0
  93. package/app/coverage/app/middleware/index.html +176 -0
  94. package/app/coverage/app/pages/auth/account/index.html +116 -0
  95. package/app/coverage/app/pages/auth/account/select.vue.html +424 -0
  96. package/app/coverage/app/pages/auth/index.html +146 -0
  97. package/app/coverage/app/pages/auth/login.vue.html +334 -0
  98. package/app/coverage/app/pages/auth/logout.vue.html +154 -0
  99. package/app/coverage/app/pages/auth/terms-of-use.vue.html +316 -0
  100. package/app/coverage/app/plugins/auth-api.ts.html +169 -0
  101. package/app/coverage/app/plugins/connect-auth.client.ts.html +382 -0
  102. package/app/coverage/app/plugins/index.html +131 -0
  103. package/app/coverage/app/stores/connect-account.ts.html +826 -0
  104. package/app/coverage/app/stores/index.html +116 -0
  105. package/app/coverage/app/types/connect-valid-idps.ts.html +100 -0
  106. package/app/coverage/app/types/index.html +116 -0
  107. package/app/coverage/app/utils/constants/index.html +131 -0
  108. package/app/coverage/app/utils/constants/index.ts.html +88 -0
  109. package/app/coverage/app/utils/constants/valid-idps.ts.html +106 -0
  110. package/app/coverage/app/utils/index.html +146 -0
  111. package/app/coverage/app/utils/index.ts.html +88 -0
  112. package/app/coverage/app/utils/resetPiniaStores.ts.html +184 -0
  113. package/app/coverage/app/utils/schemas/account.ts.html +313 -0
  114. package/app/coverage/app/utils/schemas/index.html +116 -0
  115. package/app/coverage/app/utils/setOnBeforeSessionExpired.ts.html +154 -0
  116. package/app/coverage/base.css +224 -0
  117. package/app/coverage/block-navigation.js +87 -0
  118. package/app/coverage/clover.xml +1939 -0
  119. package/app/coverage/coverage-final.json +63 -0
  120. package/app/coverage/favicon.png +0 -0
  121. package/app/coverage/index.html +431 -0
  122. package/app/coverage/prettify.css +1 -0
  123. package/app/coverage/prettify.js +2 -0
  124. package/app/coverage/sort-arrow-sprite.png +0 -0
  125. package/app/coverage/sorter.js +210 -0
  126. package/app/enums/account-status.ts +9 -0
  127. package/app/enums/account-type.ts +6 -0
  128. package/app/enums/connect-access-type.ts +3 -0
  129. package/app/enums/connect-auth-storage-key.ts +3 -0
  130. package/app/enums/connect-idp-hint.ts +6 -0
  131. package/app/enums/connect-login-source.ts +6 -0
  132. package/app/enums/connect-payment-method.ts +3 -0
  133. package/app/enums/connect-preset-type.ts +4 -0
  134. package/app/enums/connect-product-code.ts +3 -0
  135. package/app/enums/connect-product-type.ts +3 -0
  136. package/app/enums/user-settings-type.ts +5 -0
  137. package/app/interfaces/app-config-shapes.ts +40 -0
  138. package/app/interfaces/connect-account-address.ts +3 -0
  139. package/app/interfaces/connect-account.ts +23 -0
  140. package/app/interfaces/connect-auth-contact.ts +15 -0
  141. package/app/interfaces/connect-auth-profile.ts +24 -0
  142. package/app/interfaces/connect-auth-user.ts +10 -0
  143. package/app/interfaces/connect-terms-of-use.ts +6 -0
  144. package/app/interfaces/connect-user-settings.ts +10 -0
  145. package/app/layouts/ConnectAuth.vue +5 -0
  146. package/app/middleware/01.setup-accounts.global.ts +13 -0
  147. package/app/middleware/02.keycloak-params.global.ts +15 -0
  148. package/app/middleware/03.app-config-presets.global.ts +10 -0
  149. package/app/middleware/04.idp-enforcement.global.ts +30 -0
  150. package/app/middleware/connect-auth.ts +72 -0
  151. package/app/pages/auth/account/select.vue +121 -0
  152. package/app/pages/auth/login.vue +104 -0
  153. package/app/pages/auth/logout.vue +23 -0
  154. package/app/pages/auth/terms-of-use.vue +77 -0
  155. package/app/plugins/auth-api.ts +28 -0
  156. package/app/plugins/connect-auth.client.ts +112 -0
  157. package/app/stores/connect-account.ts +270 -0
  158. package/app/types/auth-app-config.d.ts +16 -0
  159. package/app/types/auth-page-meta.d.ts +8 -0
  160. package/app/types/connect-valid-idps.ts +5 -0
  161. package/app/utils/constants/index.ts +1 -0
  162. package/app/utils/constants/valid-idps.ts +7 -0
  163. package/app/utils/index.ts +1 -0
  164. package/app/utils/resetPiniaStores.ts +33 -0
  165. package/app/utils/schemas/account.ts +76 -0
  166. package/app/utils/setOnBeforeSessionExpired.ts +23 -0
  167. package/i18n/locales/en-CA.ts +114 -0
  168. package/i18n/locales/fr-CA.ts +1 -0
  169. package/nuxt.config.ts +84 -0
  170. package/package.json +44 -0
  171. package/playwright-report/index.html +85 -0
  172. package/public/img/BCReg_Generic_Login_image.jpg +0 -0
  173. package/test-results/.last-run.json +4 -0
  174. package/testMocks/auth/index.ts +2 -0
  175. package/testMocks/auth/profile/index.ts +9 -0
  176. package/testMocks/auth/profile/json/PUBLIC_USER.json +29 -0
  177. package/testMocks/auth/settings/index.ts +11 -0
  178. package/testMocks/auth/settings/json/PREMIUM.json +38 -0
  179. package/testMocks/auth/settings/json/SBC_STAFF.json +27 -0
  180. package/testMocks/auth/settings/json/STAFF.json +27 -0
  181. package/testMocks/mock-helpers.ts +15 -0
package/.env.example ADDED
@@ -0,0 +1,35 @@
1
+ # Web Urls
2
+ NUXT_PUBLIC_BASE_URL="http://localhost:3000/"
3
+ NUXT_PUBLIC_REGISTRY_HOME_URL="https://dev.bcregistry.gov.bc.ca/"
4
+ NUXT_PUBLIC_AUTH_WEB_URL="https://dev.account.bcregistry.gov.bc.ca/"
5
+
6
+ # API Key
7
+ NUXT_PUBLIC_X_API_KEY=""
8
+
9
+ # API Urls
10
+ # Status API
11
+ NUXT_PUBLIC_STATUS_API_URL="https://status-api-dev.apps.gold.devops.gov.bc.ca"
12
+ NUXT_PUBLIC_STATUS_API_VERSION="/api/v1"
13
+
14
+ # Auth API
15
+ NUXT_PUBLIC_AUTH_API_URL="https://test.api.connect.gov.bc.ca/auth-dev"
16
+ NUXT_PUBLIC_AUTH_API_VERSION="/api/v1"
17
+
18
+ # LaunchDarkly
19
+ NUXT_PUBLIC_LD_CLIENT_ID=""
20
+
21
+ # Identity Provider
22
+ NUXT_PUBLIC_IDP_URL="https://dev.loginproxy.gov.bc.ca/auth"
23
+ NUXT_PUBLIC_IDP_REALM="bcregistry"
24
+ NUXT_PUBLIC_IDP_CLIENTID="connect-web"
25
+ NUXT_PUBLIC_SITEMINDER_LOGOUT_URL="https://logontest7.gov.bc.ca/clp-cgi/logoff.cgi"
26
+
27
+ # Session Timeout
28
+ NUXT_PUBLIC_TOKEN_REFRESH_INTERVAL=30000
29
+ NUXT_PUBLIC_TOKEN_MIN_VALIDITY=120000
30
+ NUXT_PUBLIC_SESSION_INACTIVITY_TIMEOUT=1800000
31
+ NUXT_PUBLIC_SESSION_MODAL_TIMEOUT=120000
32
+
33
+ # Playwright Testing
34
+ PLAYWRIGHT_TEST_BCSC_USERNAME=""
35
+ PLAYWRIGHT_TEST_BCSC_PASSWORD=""
package/CHANGELOG.md ADDED
@@ -0,0 +1,495 @@
1
+ # @sbc-connect/nuxt-auth
2
+
3
+ ## 0.0.0-test-ld-20260520212549
4
+
5
+ ### Minor Changes
6
+
7
+ - [#158](https://github.com/bcgov/connect-nuxt/pull/158) [`fe5065e`](https://github.com/bcgov/connect-nuxt/commit/fe5065e12d776349e7093e52ecee51ce22a2c271) Thanks [@vysakh-menon-aot](https://github.com/vysakh-menon-aot)! - Switch LD dependency to js-client-sdk
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [[`a68fff2`](https://github.com/bcgov/connect-nuxt/commit/a68fff28bf29913c7643b570982568894b7d0704), [`fe5065e`](https://github.com/bcgov/connect-nuxt/commit/fe5065e12d776349e7093e52ecee51ce22a2c271)]:
12
+ - @sbc-connect/nuxt-forms@0.0.0-test-ld-20260520212549
13
+ - @sbc-connect/nuxt-base@0.0.0-test-ld-20260520212549
14
+
15
+ ## 0.9.4
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies [[`e4ad236`](https://github.com/bcgov/connect-nuxt/commit/e4ad2360c255173e20b7f6d384de2a9313ce747d), [`e4ad236`](https://github.com/bcgov/connect-nuxt/commit/e4ad2360c255173e20b7f6d384de2a9313ce747d)]:
20
+ - @sbc-connect/nuxt-forms@0.7.2
21
+ - @sbc-connect/nuxt-base@0.7.3
22
+
23
+ ## 0.9.3
24
+
25
+ ### Patch Changes
26
+
27
+ - [#153](https://github.com/bcgov/connect-nuxt/pull/153) [`2af6e61`](https://github.com/bcgov/connect-nuxt/commit/2af6e6115724f0ee8b21df2ca86d16d2b6ded28d) Thanks [@deetz99](https://github.com/deetz99)! - Login page - center description text
28
+
29
+ ## 0.9.2
30
+
31
+ ### Patch Changes
32
+
33
+ - [#151](https://github.com/bcgov/connect-nuxt/pull/151) [`90714ac`](https://github.com/bcgov/connect-nuxt/commit/90714ac914683d730c911725e38a83b0d1f5d8f2) Thanks [@deetz99](https://github.com/deetz99)! - Invalid IDP Modal: Text update to modal content.
34
+
35
+ ## 0.9.1
36
+
37
+ ### Patch Changes
38
+
39
+ - [#149](https://github.com/bcgov/connect-nuxt/pull/149) [`467e679`](https://github.com/bcgov/connect-nuxt/commit/467e679f8bf4b2f3b9ec2294fd28a2a6c5ef3dba) Thanks [@deetz99](https://github.com/deetz99)! - Update dependencies
40
+
41
+ - Updated dependencies [[`467e679`](https://github.com/bcgov/connect-nuxt/commit/467e679f8bf4b2f3b9ec2294fd28a2a6c5ef3dba)]:
42
+ - @sbc-connect/nuxt-forms@0.7.1
43
+ - @sbc-connect/nuxt-base@0.7.2
44
+
45
+ ## 0.9.0
46
+
47
+ ### Minor Changes
48
+
49
+ - [#147](https://github.com/bcgov/connect-nuxt/pull/147) [`d96fef6`](https://github.com/bcgov/connect-nuxt/commit/d96fef61258f7749b8097aad9f1ae73bca3a0702) Thanks [@deetz99](https://github.com/deetz99)! - Fix IDP Enforcement modal being hidden by loading spinner
50
+
51
+ - [#146](https://github.com/bcgov/connect-nuxt/pull/146) [`32f2375`](https://github.com/bcgov/connect-nuxt/commit/32f23755ab656239730599f02d9802b491469d7e) Thanks [@cameron-eyds](https://github.com/cameron-eyds)! - Minor text and layout changes to Auth Login, Select and Create
52
+
53
+ ## 0.8.1
54
+
55
+ ### Patch Changes
56
+
57
+ - Updated dependencies [[`3b9fddb`](https://github.com/bcgov/connect-nuxt/commit/3b9fddb1c634fa48c8f4426954cbb2a043f78ff1)]:
58
+ - @sbc-connect/nuxt-forms@0.7.0
59
+
60
+ ## 0.8.0
61
+
62
+ ### Minor Changes
63
+
64
+ - [#140](https://github.com/bcgov/connect-nuxt/pull/140) [`7704fda`](https://github.com/bcgov/connect-nuxt/commit/7704fda8e016b67d0928964652e94f0bb792ff6c) Thanks [@cameron-eyds](https://github.com/cameron-eyds)! - Param preservation in expiry logout and header login
65
+
66
+ ### Patch Changes
67
+
68
+ - Updated dependencies [[`83c5627`](https://github.com/bcgov/connect-nuxt/commit/83c5627689a50d6fa27f12f2ab7b2ef65e752d0e)]:
69
+ - @sbc-connect/nuxt-forms@0.6.2
70
+
71
+ ## 0.7.1
72
+
73
+ ### Patch Changes
74
+
75
+ - Updated dependencies [[`e6dc55d`](https://github.com/bcgov/connect-nuxt/commit/e6dc55d18b84754e2416112ebbf42b780b8bb3ac)]:
76
+ - @sbc-connect/nuxt-base@0.7.1
77
+ - @sbc-connect/nuxt-forms@0.6.1
78
+
79
+ ## 0.7.0
80
+
81
+ ### Minor Changes
82
+
83
+ - [#135](https://github.com/bcgov/connect-nuxt/pull/135) [`31c8786`](https://github.com/bcgov/connect-nuxt/commit/31c87862eae861c21fd26d8b79325b38eca565cb) Thanks [@cameron-eyds](https://github.com/cameron-eyds)! - Updated Account Status Handling
84
+
85
+ - [#136](https://github.com/bcgov/connect-nuxt/pull/136) [`7e3a970`](https://github.com/bcgov/connect-nuxt/commit/7e3a9701ddd5304851c8d55c9fc940b2da656cbf) Thanks [@cameron-eyds](https://github.com/cameron-eyds)! - Misc typing and e2e test fixes
86
+
87
+ - [#137](https://github.com/bcgov/connect-nuxt/pull/137) [`9c10812`](https://github.com/bcgov/connect-nuxt/commit/9c10812d8ecde646eb185310376cabd3319a414d) Thanks [@deetz99](https://github.com/deetz99)! - Account creation form: fix padding
88
+
89
+ - [#133](https://github.com/bcgov/connect-nuxt/pull/133) [`644cb59`](https://github.com/bcgov/connect-nuxt/commit/644cb59f04d17e8ad5d480ad63d475359415ebcc) Thanks [@cameron-eyds](https://github.com/cameron-eyds)! - Session expiry logout url updates
90
+
91
+ ### Patch Changes
92
+
93
+ - Updated dependencies [[`9c10812`](https://github.com/bcgov/connect-nuxt/commit/9c10812d8ecde646eb185310376cabd3319a414d), [`7e3a970`](https://github.com/bcgov/connect-nuxt/commit/7e3a9701ddd5304851c8d55c9fc940b2da656cbf)]:
94
+ - @sbc-connect/nuxt-forms@0.6.0
95
+ - @sbc-connect/nuxt-base@0.7.0
96
+
97
+ ## 0.6.2
98
+
99
+ ### Patch Changes
100
+
101
+ - [#131](https://github.com/bcgov/connect-nuxt/pull/131) [`f649e93`](https://github.com/bcgov/connect-nuxt/commit/f649e930fcb08a4e363e2b6632cb337466f21150) Thanks [@kialj876](https://github.com/kialj876)! - Update useConnectAccountFlowRedirect to add accountid to the query and remove modal in idp-enforcement middleware
102
+
103
+ ## 0.6.1
104
+
105
+ ### Patch Changes
106
+
107
+ - Updated dependencies [[`93c5650`](https://github.com/bcgov/connect-nuxt/commit/93c5650be9a6b48e51d876d522f168d885d006c4)]:
108
+ - @sbc-connect/nuxt-forms@0.5.0
109
+
110
+ ## 0.6.0
111
+
112
+ ### Minor Changes
113
+
114
+ - [#127](https://github.com/bcgov/connect-nuxt/pull/127) [`63409ea`](https://github.com/bcgov/connect-nuxt/commit/63409eab3ef9072fe8e05662b44f61bb8be6cff4) Thanks [@cameron-eyds](https://github.com/cameron-eyds)! - Improved name lookup validations
115
+
116
+ - [#125](https://github.com/bcgov/connect-nuxt/pull/125) [`fda1d48`](https://github.com/bcgov/connect-nuxt/commit/fda1d48ed55838aeece70aa04a82440153a3db24) Thanks [@cameron-eyds](https://github.com/cameron-eyds)! - Includes contact POST and minor redirect refactors
117
+
118
+ ### Patch Changes
119
+
120
+ - Updated dependencies [[`8cc8cc0`](https://github.com/bcgov/connect-nuxt/commit/8cc8cc09aad741dc841a864998129c6ac5a6af2f)]:
121
+ - @sbc-connect/nuxt-base@0.6.1
122
+ - @sbc-connect/nuxt-forms@0.4.1
123
+
124
+ ## 0.5.0
125
+
126
+ ### Minor Changes
127
+
128
+ - [#123](https://github.com/bcgov/connect-nuxt/pull/123) [`3c33132`](https://github.com/bcgov/connect-nuxt/commit/3c331327a27cfbd0613c268abf97842288d10f8c) Thanks [@cameron-eyds](https://github.com/cameron-eyds)! - Auth Redirect Enhancements
129
+
130
+ ## 0.4.1
131
+
132
+ ### Patch Changes
133
+
134
+ - [#121](https://github.com/bcgov/connect-nuxt/pull/121) [`e4d8d9e`](https://github.com/bcgov/connect-nuxt/commit/e4d8d9e510af321a2cc7ba12ca270a5f018981e5) Thanks [@kialj876](https://github.com/kialj876)! - Updated account mocking so that tests can mock their own account instead of the hardcoded mock
135
+
136
+ - Updated dependencies []:
137
+ - @sbc-connect/nuxt-base@0.6.0
138
+ - @sbc-connect/nuxt-forms@0.4.0
139
+
140
+ ## 0.4.0
141
+
142
+ ### Minor Changes
143
+
144
+ - [#118](https://github.com/bcgov/connect-nuxt/pull/118) [`41e58f4`](https://github.com/bcgov/connect-nuxt/commit/41e58f44e6d216e7de568bccb2e240b2d89b8408) Thanks [@deetz99](https://github.com/deetz99)! - Remove now unnecessary css module workaround.
145
+
146
+ - [#120](https://github.com/bcgov/connect-nuxt/pull/120) [`9f42868`](https://github.com/bcgov/connect-nuxt/commit/9f428681207188292d52cf6d370035f54bdb6ab4) Thanks [@cameron-eyds](https://github.com/cameron-eyds)! - Idp Enforcement Modal and bcsc user welcome msg
147
+
148
+ - [#117](https://github.com/bcgov/connect-nuxt/pull/117) [`e3da105`](https://github.com/bcgov/connect-nuxt/commit/e3da1056247f5c502578dc70f95375e66e3cc1da) Thanks [@deetz99](https://github.com/deetz99)! - Update all dependencies
149
+
150
+ - [#119](https://github.com/bcgov/connect-nuxt/pull/119) [`ee5ba9e`](https://github.com/bcgov/connect-nuxt/commit/ee5ba9e6f7302e8ea11fd0ebfa887c4f6269b0ee) Thanks [@cameron-eyds](https://github.com/cameron-eyds)! - implements Dynamic app.config and idp enforcement
151
+
152
+ - [#114](https://github.com/bcgov/connect-nuxt/pull/114) [`fe3eef1`](https://github.com/bcgov/connect-nuxt/commit/fe3eef1b39cc5883cc5e8560efe0dd89d04d0455) Thanks [@cameron-eyds](https://github.com/cameron-eyds)! - Implements Acct Creation submissions, contact updates and name lookup
153
+
154
+ ### Patch Changes
155
+
156
+ - Updated dependencies [[`41e58f4`](https://github.com/bcgov/connect-nuxt/commit/41e58f44e6d216e7de568bccb2e240b2d89b8408), [`e3da105`](https://github.com/bcgov/connect-nuxt/commit/e3da1056247f5c502578dc70f95375e66e3cc1da), [`fe3eef1`](https://github.com/bcgov/connect-nuxt/commit/fe3eef1b39cc5883cc5e8560efe0dd89d04d0455)]:
157
+ - @sbc-connect/nuxt-forms@0.4.0
158
+ - @sbc-connect/nuxt-base@0.6.0
159
+
160
+ ## 0.3.0
161
+
162
+ ### Minor Changes
163
+
164
+ - [#108](https://github.com/bcgov/connect-nuxt/pull/108) [`8571754`](https://github.com/bcgov/connect-nuxt/commit/8571754160242c3233838fc039fd1a01ff9d7a82) Thanks [@cameron-eyds](https://github.com/cameron-eyds)! - Implements account creation in Auth and Country Code/Country Flag components in Forms
165
+
166
+ ### Patch Changes
167
+
168
+ - Updated dependencies [[`8571754`](https://github.com/bcgov/connect-nuxt/commit/8571754160242c3233838fc039fd1a01ff9d7a82), [`d9d6356`](https://github.com/bcgov/connect-nuxt/commit/d9d63560e27117c43b9e8e54d363c3fdbb620049), [`dd17349`](https://github.com/bcgov/connect-nuxt/commit/dd173497255f35415b468e17f7192722f604d3c8)]:
169
+ - @sbc-connect/nuxt-forms@0.3.0
170
+ - @sbc-connect/nuxt-base@0.5.0
171
+
172
+ ## 0.2.1
173
+
174
+ ### Patch Changes
175
+
176
+ - Updated dependencies [[`f5d34df`](https://github.com/bcgov/connect-nuxt/commit/f5d34df0bbb2b37cbeda8a9dd39c6bce098c564f)]:
177
+ - @sbc-connect/nuxt-base@0.4.0
178
+
179
+ ## 0.2.0
180
+
181
+ ### Minor Changes
182
+
183
+ - [#104](https://github.com/bcgov/connect-nuxt/pull/104) [`5f1b383`](https://github.com/bcgov/connect-nuxt/commit/5f1b3839ed993654a7f20fe161047ba38ab86274) Thanks [@deetz99](https://github.com/deetz99)! - - Terms of Use page
184
+
185
+ - check user terms of use in auth middleware
186
+ - useAuthApi composable using pinia-colada for api methods
187
+ - terms of use error/decline modals
188
+ - auth contact, auth profile and terms of use interfaces
189
+ - update account store to use pinia-colada query for setUserName method
190
+ - related i18n translations
191
+ - add '@pinia/colada-nuxt' nuxt module
192
+
193
+ - [#102](https://github.com/bcgov/connect-nuxt/pull/102) [`d714785`](https://github.com/bcgov/connect-nuxt/commit/d71478573f1fe11be34d5d588d68fb75eb5fd159) Thanks [@deetz99](https://github.com/deetz99)! - - allowed-idps middleware
194
+ - login-page middleware
195
+ - add explicit typing for allowed idps in app config
196
+ - util getValidIdps constant
197
+ - Choose existing account page (WIP)
198
+
199
+ ### Patch Changes
200
+
201
+ - Updated dependencies [[`d714785`](https://github.com/bcgov/connect-nuxt/commit/d71478573f1fe11be34d5d588d68fb75eb5fd159), [`5f1b383`](https://github.com/bcgov/connect-nuxt/commit/5f1b3839ed993654a7f20fe161047ba38ab86274)]:
202
+ - @sbc-connect/nuxt-base@0.3.0
203
+
204
+ ## 0.1.32
205
+
206
+ ### Patch Changes
207
+
208
+ - [#98](https://github.com/bcgov/connect-nuxt/pull/98) [`cb7ba1b`](https://github.com/bcgov/connect-nuxt/commit/cb7ba1b38a7e7dbeb296479ef0fcba13ddb1d20f) Thanks [@kialj876](https://github.com/kialj876)! - Auth Layer: Move auth layout to component, Pay Layer: Add in sidebar for examples and add layout tests
209
+
210
+ - Updated dependencies [[`09323e1`](https://github.com/bcgov/connect-nuxt/commit/09323e1fcaff9a2738528c8161288c1d4bcd0677), [`033f6c6`](https://github.com/bcgov/connect-nuxt/commit/033f6c624fbf953f1d7cf491c876cc9b58619b22)]:
211
+ - @sbc-connect/nuxt-base@0.2.0
212
+
213
+ ## 0.1.31
214
+
215
+ ### Patch Changes
216
+
217
+ - Updated dependencies [[`a0724ac`](https://github.com/bcgov/connect-nuxt/commit/a0724ac5fdf44296e822942b0eea6be3bb313fcb)]:
218
+ - @sbc-connect/nuxt-base@0.1.29
219
+
220
+ ## 0.1.30
221
+
222
+ ### Patch Changes
223
+
224
+ - [#90](https://github.com/bcgov/connect-nuxt/pull/90) [`b66923e`](https://github.com/bcgov/connect-nuxt/commit/b66923e94a2c8a7aa936b7e371e727be73d90ea7) Thanks [@kialj876](https://github.com/kialj876)! - Base tombstone - bug fix
225
+
226
+ - Updated dependencies [[`b66923e`](https://github.com/bcgov/connect-nuxt/commit/b66923e94a2c8a7aa936b7e371e727be73d90ea7)]:
227
+ - @sbc-connect/nuxt-base@0.1.28
228
+
229
+ ## 0.1.29
230
+
231
+ ### Patch Changes
232
+
233
+ - [#88](https://github.com/bcgov/connect-nuxt/pull/88) [`11ccded`](https://github.com/bcgov/connect-nuxt/commit/11ccdedb47c73d36a335ddd96e529fe74ca17480) Thanks [@kialj876](https://github.com/kialj876)! - Base layer - Update tombstone component stateKey prop to optional
234
+
235
+ - Updated dependencies [[`11ccded`](https://github.com/bcgov/connect-nuxt/commit/11ccdedb47c73d36a335ddd96e529fe74ca17480)]:
236
+ - @sbc-connect/nuxt-base@0.1.27
237
+
238
+ ## 0.1.28
239
+
240
+ ### Patch Changes
241
+
242
+ - Updated dependencies [[`c1fb4f2`](https://github.com/bcgov/connect-nuxt/commit/c1fb4f2a217b3d57e7ea7aed8b9773e215a21978)]:
243
+ - @sbc-connect/nuxt-base@0.1.26
244
+
245
+ ## 0.1.27
246
+
247
+ ### Patch Changes
248
+
249
+ - [#85](https://github.com/bcgov/connect-nuxt/pull/85) [`6b0f70a`](https://github.com/bcgov/connect-nuxt/commit/6b0f70ab895a26c0b049dce84b130d6a04fd911e) Thanks [@kialj876](https://github.com/kialj876)! - Common layout updates, default state key for tombstone, fee store - waive fees, add prioirty, expose cached fees
250
+
251
+ - [#84](https://github.com/bcgov/connect-nuxt/pull/84) [`f37700a`](https://github.com/bcgov/connect-nuxt/commit/f37700ab568335df724a5e9472a5e0b4198704b5) Thanks [@deetz99](https://github.com/deetz99)! - feat: Add mock option to auth middleware.
252
+
253
+ - Updated dependencies [[`f37700a`](https://github.com/bcgov/connect-nuxt/commit/f37700ab568335df724a5e9472a5e0b4198704b5), [`6b0f70a`](https://github.com/bcgov/connect-nuxt/commit/6b0f70ab895a26c0b049dce84b130d6a04fd911e), [`ba04c84`](https://github.com/bcgov/connect-nuxt/commit/ba04c8424353b32af0811534d9c3edd31e15d39e)]:
254
+ - @sbc-connect/nuxt-base@0.1.25
255
+
256
+ ## 0.1.26
257
+
258
+ ### Patch Changes
259
+
260
+ - Updated dependencies [[`0615542`](https://github.com/bcgov/connect-nuxt/commit/06155422d0a8d61ee862bb3483330610b4a9434d)]:
261
+ - @sbc-connect/nuxt-base@0.1.24
262
+
263
+ ## 0.1.25
264
+
265
+ ### Patch Changes
266
+
267
+ - [#77](https://github.com/bcgov/connect-nuxt/pull/77) [`86ec3d0`](https://github.com/bcgov/connect-nuxt/commit/86ec3d03baa7dae3137f6c4c96a328f13eb46ce5) Thanks [@deetz99](https://github.com/deetz99)! - Update dependencies
268
+
269
+ - Updated dependencies [[`86ec3d0`](https://github.com/bcgov/connect-nuxt/commit/86ec3d03baa7dae3137f6c4c96a328f13eb46ce5), [`86ec3d0`](https://github.com/bcgov/connect-nuxt/commit/86ec3d03baa7dae3137f6c4c96a328f13eb46ce5), [`86ec3d0`](https://github.com/bcgov/connect-nuxt/commit/86ec3d03baa7dae3137f6c4c96a328f13eb46ce5)]:
270
+ - @sbc-connect/nuxt-base@0.1.23
271
+
272
+ ## 0.1.24
273
+
274
+ ### Patch Changes
275
+
276
+ - Updated dependencies [[`3dec6d9`](https://github.com/bcgov/connect-nuxt/commit/3dec6d92101915d2253cb177c38acf2a2e534fc1)]:
277
+ - @sbc-connect/nuxt-base@0.1.22
278
+
279
+ ## 0.1.23
280
+
281
+ ### Patch Changes
282
+
283
+ - Updated dependencies [[`6c568da`](https://github.com/bcgov/connect-nuxt/commit/6c568da341a6d9c56cacf2c5ad56301837f9f525)]:
284
+ - @sbc-connect/nuxt-base@0.1.21
285
+
286
+ ## 0.1.22
287
+
288
+ ### Patch Changes
289
+
290
+ - [#71](https://github.com/bcgov/connect-nuxt/pull/71) [`1752ac6`](https://github.com/bcgov/connect-nuxt/commit/1752ac651e03269825b81bf24bba3fcc67c2679c) Thanks [@deetz99](https://github.com/deetz99)! - fix logout page accidentally referencing login redirect property
291
+
292
+ ## 0.1.21
293
+
294
+ ### Patch Changes
295
+
296
+ - Updated dependencies [[`88cd406`](https://github.com/bcgov/connect-nuxt/commit/88cd406e185ec8b91b35ec04efc80e2518412462)]:
297
+ - @sbc-connect/nuxt-base@0.1.20
298
+
299
+ ## 0.1.20
300
+
301
+ ### Patch Changes
302
+
303
+ - Updated dependencies [[`f1145be`](https://github.com/bcgov/connect-nuxt/commit/f1145be1b8b175d9f2e37ae13305d112c6d31cc9)]:
304
+ - @sbc-connect/nuxt-base@0.1.19
305
+
306
+ ## 0.1.19
307
+
308
+ ### Patch Changes
309
+
310
+ - Updated dependencies [[`291b7dd`](https://github.com/bcgov/connect-nuxt/commit/291b7dd9147dfe465efaabca645ff5cef23d2a66), [`6ff25af`](https://github.com/bcgov/connect-nuxt/commit/6ff25af994b1099582f632825e1c280a518ff59a)]:
311
+ - @sbc-connect/nuxt-base@0.1.18
312
+
313
+ ## 0.1.18
314
+
315
+ ### Patch Changes
316
+
317
+ - Updated dependencies [[`b77b067`](https://github.com/bcgov/connect-nuxt/commit/b77b067c07962f79396064f14da87dd25a89a4d1)]:
318
+ - @sbc-connect/nuxt-base@0.1.17
319
+
320
+ ## 0.1.17
321
+
322
+ ### Patch Changes
323
+
324
+ - Updated dependencies [[`a98c264`](https://github.com/bcgov/connect-nuxt/commit/a98c2647e041061223d504c8e974670148c08c0b)]:
325
+ - @sbc-connect/nuxt-base@0.1.16
326
+
327
+ ## 0.1.16
328
+
329
+ ### Patch Changes
330
+
331
+ - Updated dependencies [[`cab53dc`](https://github.com/bcgov/connect-nuxt/commit/cab53dc83ab8c8032bdb424a9e135febdfebf645)]:
332
+ - @sbc-connect/nuxt-base@0.1.15
333
+
334
+ ## 0.1.15
335
+
336
+ ### Patch Changes
337
+
338
+ - Updated dependencies [[`5d66b92`](https://github.com/bcgov/connect-nuxt/commit/5d66b927121d6144ee7eedb8ed86b64c76e26c7e)]:
339
+ - @sbc-connect/nuxt-base@0.1.14
340
+
341
+ ## 0.1.14
342
+
343
+ ### Patch Changes
344
+
345
+ - Updated dependencies [[`602360a`](https://github.com/bcgov/connect-nuxt/commit/602360a628742ffe8957209bbe38eff1663a0851)]:
346
+ - @sbc-connect/nuxt-base@0.1.13
347
+
348
+ ## 0.1.13
349
+
350
+ ### Patch Changes
351
+
352
+ - Updated dependencies [[`19e3a00`](https://github.com/bcgov/connect-nuxt/commit/19e3a00a8350f8f02f674d10e1d572c909ad90c5)]:
353
+ - @sbc-connect/nuxt-base@0.1.12
354
+
355
+ ## 0.1.12
356
+
357
+ ### Patch Changes
358
+
359
+ - Updated dependencies [[`9edf5ab`](https://github.com/bcgov/connect-nuxt/commit/9edf5ab6c4c7598f661e8ea713e6a60b390105c1)]:
360
+ - @sbc-connect/nuxt-base@0.1.11
361
+
362
+ ## 0.1.11
363
+
364
+ ### Patch Changes
365
+
366
+ - Updated dependencies [[`8eb83d3`](https://github.com/bcgov/connect-nuxt/commit/8eb83d3e4d0af392f3e7ca8661020e6ae3f4cc7d)]:
367
+ - @sbc-connect/nuxt-base@0.1.10
368
+
369
+ ## 0.1.10
370
+
371
+ ### Patch Changes
372
+
373
+ - [#43](https://github.com/bcgov/connect-nuxt/pull/43) [`3b521b7`](https://github.com/bcgov/connect-nuxt/commit/3b521b70bf1a0cc5a0feea63a825ef5544347aa8) Thanks [@deetz99](https://github.com/deetz99)! - Form components and new lint rules
374
+
375
+ - Forms layer address components
376
+ - Lint rules and fixes to prevent rule collision and promote best practices
377
+
378
+ issue: bcgov/entity#29338
379
+
380
+ - [#42](https://github.com/bcgov/connect-nuxt/pull/42) [`be3f9d2`](https://github.com/bcgov/connect-nuxt/commit/be3f9d2eb93e8bd6da134e69ff1de4676b8c21f9) Thanks [@deetz99](https://github.com/deetz99)! - Auth Layer - Auth layer tests
381
+ Fix auth web url var name in account store issue: bcgov/entity#29335
382
+ - Updated dependencies [[`3b521b7`](https://github.com/bcgov/connect-nuxt/commit/3b521b70bf1a0cc5a0feea63a825ef5544347aa8)]:
383
+ - @sbc-connect/nuxt-base@0.1.9
384
+
385
+ ## 0.1.9
386
+
387
+ ### Patch Changes
388
+
389
+ - [#40](https://github.com/bcgov/connect-nuxt/pull/40) [`f4b62e1`](https://github.com/bcgov/connect-nuxt/commit/f4b62e19570ed062399ce7d23ce07abcf682285f) Thanks [@deetz99](https://github.com/deetz99)! - Add login page and auth middleware issue: bcgov/entity#29335
390
+
391
+ - [#38](https://github.com/bcgov/connect-nuxt/pull/38) [`8b8f067`](https://github.com/bcgov/connect-nuxt/commit/8b8f067aba4cda2cd2cd8de5c6f74ccc24eaf822) Thanks [@deetz99](https://github.com/deetz99)! - Add LaunchDarkly composable with user context. issue: bcgov/entity#29335
392
+
393
+ ## 0.1.8
394
+
395
+ ### Patch Changes
396
+
397
+ - [#34](https://github.com/bcgov/connect-nuxt/pull/34) [`b2a0458`](https://github.com/bcgov/connect-nuxt/commit/b2a04587d5408d213d463ef6161b701ca597ef86) Thanks [@deetz99](https://github.com/deetz99)! - - handle user session expiry in auth plugin
398
+
399
+ - onBeforeSessionExpiry route meta
400
+ - onAccountChange route meta
401
+ - resetPiniaStores util and reset on logout
402
+ - add account id to layouts/ConnectAuth breadcrumb slot
403
+
404
+ issue: bcgov/entity#29335
405
+
406
+ - [#32](https://github.com/bcgov/connect-nuxt/pull/32) [`66d83d1`](https://github.com/bcgov/connect-nuxt/commit/66d83d14b2ec7950057dd39a4d876a8c4096923f) Thanks [@kialj876](https://github.com/kialj876)! - Pay layer cleanup bcgov/entity#29337
407
+
408
+ - Updated dependencies [[`66d83d1`](https://github.com/bcgov/connect-nuxt/commit/66d83d14b2ec7950057dd39a4d876a8c4096923f)]:
409
+ - @sbc-connect/nuxt-base@0.1.8
410
+
411
+ ## 0.1.7
412
+
413
+ ### Patch Changes
414
+
415
+ - [#28](https://github.com/bcgov/connect-nuxt/pull/28) [`68af125`](https://github.com/bcgov/connect-nuxt/commit/68af1259b87846f42010026977411481e53ca8fb) Thanks [@kialj876](https://github.com/kialj876)! - Filling out the pay layer. Ticket bcgov/entity#29337
416
+
417
+ - Updated dependencies [[`68af125`](https://github.com/bcgov/connect-nuxt/commit/68af1259b87846f42010026977411481e53ca8fb)]:
418
+ - @sbc-connect/nuxt-base@0.1.7
419
+
420
+ ## 0.1.6
421
+
422
+ ### Patch Changes
423
+
424
+ - [#21](https://github.com/bcgov/connect-nuxt/pull/21) [`db2159e`](https://github.com/bcgov/connect-nuxt/commit/db2159ebc4b310c1c24986ca8ef85b5435fd50c8) Thanks [@deetz99](https://github.com/deetz99)! - Init auth plugin
425
+
426
+ - [#26](https://github.com/bcgov/connect-nuxt/pull/26) [`65ae301`](https://github.com/bcgov/connect-nuxt/commit/65ae301972b39cfed8550e49c1209133674528a4) Thanks [@deetz99](https://github.com/deetz99)! - Update CSS variables to match Nuxt UI naming convention. Issue: bcgov/entity#29335
427
+
428
+ - [#23](https://github.com/bcgov/connect-nuxt/pull/23) [`b257d0c`](https://github.com/bcgov/connect-nuxt/commit/b257d0c874138e56ae0b5d79ec6e5a7b30acec8b) Thanks [@deetz99](https://github.com/deetz99)! - - begin initial account store
429
+
430
+ - auth composable
431
+ - clear keycloak params in url
432
+ - init account in middleware
433
+ - several enums/types to support accounts
434
+ - update nuxt config with auto imports and pinia plugin module
435
+
436
+ issue: bcgov/entity#29335
437
+
438
+ - [#25](https://github.com/bcgov/connect-nuxt/pull/25) [`aba11d1`](https://github.com/bcgov/connect-nuxt/commit/aba11d1303ab1b19b3a51c27959766c4ee0cd5d8) Thanks [@deetz99](https://github.com/deetz99)! - - create auth header components
439
+
440
+ - connect-auth layout
441
+
442
+ issue: bcgov/entity#29335
443
+
444
+ - Updated dependencies [[`65ae301`](https://github.com/bcgov/connect-nuxt/commit/65ae301972b39cfed8550e49c1209133674528a4), [`09fa4f1`](https://github.com/bcgov/connect-nuxt/commit/09fa4f1b4b2c65d189a6477c9c5f2d44607b543d), [`aba11d1`](https://github.com/bcgov/connect-nuxt/commit/aba11d1303ab1b19b3a51c27959766c4ee0cd5d8)]:
445
+ - @sbc-connect/nuxt-base@0.1.6
446
+
447
+ ## 0.1.5
448
+
449
+ ### Patch Changes
450
+
451
+ - Updated dependencies [[`4231254`](https://github.com/bcgov/connect-nuxt/commit/42312540f5eec65f5d3979d5492bdfaa9bb0b079)]:
452
+ - @sbc-connect/nuxt-base@0.1.5
453
+
454
+ ## 0.1.4
455
+
456
+ ### Patch Changes
457
+
458
+ - [#16](https://github.com/bcgov/connect-nuxt/pull/16) [`9b8c225`](https://github.com/bcgov/connect-nuxt/commit/9b8c225a011e3c89c9b490e93a554f55a4e29b78) Thanks [@kialj876](https://github.com/kialj876)! - - add base header components (logo, localeSelect, wrapper)
459
+
460
+ - add footer component
461
+ - appendUrlParam util
462
+
463
+ issue: bcgov/entity#29334
464
+
465
+ - Updated dependencies [[`90f240f`](https://github.com/bcgov/connect-nuxt/commit/90f240fd789a5286ded5df710bddd6dc953bcba5), [`0fb8c54`](https://github.com/bcgov/connect-nuxt/commit/0fb8c54e059d78b246b80a03f049d075b7bbcf72), [`9b8c225`](https://github.com/bcgov/connect-nuxt/commit/9b8c225a011e3c89c9b490e93a554f55a4e29b78)]:
466
+ - @sbc-connect/nuxt-base@0.1.4
467
+
468
+ ## 0.1.3
469
+
470
+ ### Patch Changes
471
+
472
+ - [#9](https://github.com/bcgov/connect-nuxt/pull/9) [`e841fde`](https://github.com/bcgov/connect-nuxt/commit/e841fde27630d63efb2c152cd78d92b1193d1d5e) Thanks [@kialj876](https://github.com/kialj876)! - Add Nuxt back as a dev dependency
473
+
474
+ - [#8](https://github.com/bcgov/connect-nuxt/pull/8) [`c85ebfc`](https://github.com/bcgov/connect-nuxt/commit/c85ebfc879e19cce307b109c9d38044f71f482d2) Thanks [@kialj876](https://github.com/kialj876)! - Added in i18n, added base header components, added in styles for nuxt ui
475
+
476
+ - Updated dependencies [[`e841fde`](https://github.com/bcgov/connect-nuxt/commit/e841fde27630d63efb2c152cd78d92b1193d1d5e), [`c85ebfc`](https://github.com/bcgov/connect-nuxt/commit/c85ebfc879e19cce307b109c9d38044f71f482d2)]:
477
+ - @sbc-connect/nuxt-base@0.1.3
478
+
479
+ ## 0.1.2
480
+
481
+ ### Patch Changes
482
+
483
+ - [#5](https://github.com/bcgov/connect-nuxt/pull/5) [`2999779`](https://github.com/bcgov/connect-nuxt/commit/29997796bd3908b2c5ba04319b26cbb00bffe0fc) Thanks [@kialj876](https://github.com/kialj876)! - Updated fonts propagation in base, cleaned up dependencies in layers
484
+
485
+ - Updated dependencies [[`2999779`](https://github.com/bcgov/connect-nuxt/commit/29997796bd3908b2c5ba04319b26cbb00bffe0fc)]:
486
+ - @sbc-connect/nuxt-base@0.1.2
487
+
488
+ ## 0.1.1
489
+
490
+ ### Patch Changes
491
+
492
+ - [#3](https://github.com/bcgov/connect-nuxt/pull/3) [`401b62a`](https://github.com/bcgov/connect-nuxt/commit/401b62a465c338cb745c14db645797ffaac1ddab) Thanks [@kialj876](https://github.com/kialj876)! - Layer updates
493
+
494
+ - Updated dependencies [[`401b62a`](https://github.com/bcgov/connect-nuxt/commit/401b62a465c338cb745c14db645797ffaac1ddab)]:
495
+ - @sbc-connect/nuxt-base@0.1.1
package/LICENSE ADDED
@@ -0,0 +1,28 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2025, bcgov
4
+
5
+ Redistribution and use in source and binary forms, with or without
6
+ modification, are permitted provided that the following conditions are met:
7
+
8
+ 1. Redistributions of source code must retain the above copyright notice, this
9
+ list of conditions and the following disclaimer.
10
+
11
+ 2. Redistributions in binary form must reproduce the above copyright notice,
12
+ this list of conditions and the following disclaimer in the documentation
13
+ and/or other materials provided with the distribution.
14
+
15
+ 3. Neither the name of the copyright holder nor the names of its
16
+ contributors may be used to endorse or promote products derived from
17
+ this software without specific prior written permission.
18
+
19
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
package/README.md ADDED
@@ -0,0 +1,58 @@
1
+ [![License](https://img.shields.io/badge/License-BSD%203%20Clause-blue.svg)](LICENSE) [![pkg.pr.new](https://pkg.pr.new/badge/OWNER/REPO)](https://pkg.pr.new/~/bcgov/connect-nuxt)
2
+
3
+ # @sbc-connect/nuxt-auth
4
+ A Nuxt layer for handling user authentication and session management within the Connect ecosystem.
5
+
6
+ This package provides the necessary composables, plugins, and logic to integrate authentication into a Nuxt application, offering a secure and standardized login experience.
7
+
8
+ ## Features
9
+ ### Authentication & Session Management
10
+ - Integration with the BC Government authentication provider.
11
+ - User session management.
12
+ - User account management.
13
+
14
+ ### Core Development Assets
15
+ - useConnectAuth() composable to access user information and token state.
16
+ - login() and logout() helper functions.
17
+ - Automatic token refreshing and session validation.
18
+
19
+ For detailed usage and documentation, please see the [Auth Layer Docs](../../../docs/packages/layers/auth/overview.md).
20
+
21
+ ## Usage
22
+
23
+ ### Install
24
+
25
+ ```bash
26
+ pnpm install @sbc-connect/nuxt-auth
27
+ ```
28
+
29
+ ### Configure
30
+ Then add the dependency to `extends` in `nuxt.config`:
31
+
32
+ > [!NOTE]
33
+ > `@sbc-connect/nuxt-auth` already includes `@sbc-connect/nuxt-base`, it is not necessary to install `@sbc-connect/nuxt-base`.
34
+
35
+ ```ts
36
+ defineNuxtConfig({
37
+ extends: '@sbc-connect/nuxt-auth'
38
+ })
39
+ ```
40
+
41
+ ## Environment Variables
42
+ This project requires certain environment variables to be set to run correctly.
43
+
44
+ Create a file named .env in the root of the project.
45
+
46
+ Copy the contents of the .env.example file into your new .env file.
47
+
48
+ ### Local Development
49
+ Copy the contents of the **.env.example** file into your new .env file.
50
+
51
+ ### Production Environments
52
+ > [!IMPORTANT]
53
+ > The values for staging and production environments are managed securely and should not be stored in this file.
54
+
55
+ To obtain the correct values for a production build or deployment, please contact the Connect Platform Team.
56
+
57
+ ## Contributing
58
+ We welcome contributions to this package! Please see the main [Contribution Guidelines](../../../CONTRIBUTING.md) for information on our branching strategy, commit conventions, and pull request process.
@@ -0,0 +1,22 @@
1
+ import { ConnectIdpHint } from '#auth/app/enums/connect-idp-hint'
2
+ import type { AppConfigInput } from 'nuxt/schema'
3
+
4
+ export default defineAppConfig({
5
+ connect: {
6
+ login: {
7
+ redirect: '/',
8
+ idps: [ConnectIdpHint.BCSC, ConnectIdpHint.BCEID, ConnectIdpHint.IDIR],
9
+ skipAccountRedirect: false,
10
+ idpEnforcement: false
11
+ },
12
+ logout: {
13
+ redirect: ''
14
+ },
15
+ header: {
16
+ loginMenu: true,
17
+ createAccount: true,
18
+ notifications: true,
19
+ accountOptionsMenu: true
20
+ }
21
+ }
22
+ } satisfies AppConfigInput) // validates input shape without losing inference