@phila/sso-nuxt 0.0.8 → 0.0.9

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 (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -31,7 +31,8 @@ export default defineNuxtConfig({
31
31
  | `globalAuth` | `boolean` | `true` | Register a global route middleware that redirects unauthenticated users |
32
32
  | `loginPath` | `string` | `"/login"` | Path to redirect unauthenticated users to |
33
33
  | `excludePaths` | `string[]` | `["/logout"]` | Paths that bypass the auth middleware (matched with `startsWith`) |
34
- | `signInPolicy` | `string` | `"B2C_1A_AD_SIGNIN_ONLY"` | B2C sign-in user flow |
34
+ | `signInPolicy` | `string` | `"B2C_1A_SIGNUP_SIGNIN"` | B2C sign-up/sign-in user flow |
35
+ | `signInOnlyPolicy` | `string` | `"B2C_1A_AD_SIGNIN_ONLY"` | B2C sign-in-only user flow (for city employees) |
35
36
  | `resetPasswordPolicy` | `string` | `"B2C_1A_PASSWORDRESET"` | B2C password reset user flow |
36
37
 
37
38
  ## Runtime Configuration
@@ -46,6 +47,7 @@ The module exposes all SSO settings via Nuxt runtime config. Set them in `nuxt.c
46
47
  | `ssoAuthorityDomain` | `NUXT_PUBLIC_SSO_AUTHORITY_DOMAIN` | `"PhilaB2CDev.b2clogin.com"` |
47
48
  | `ssoApiScope` | `NUXT_PUBLIC_SSO_API_SCOPE` | `""` |
48
49
  | `ssoSignInPolicy` | `NUXT_PUBLIC_SSO_SIGN_IN_POLICY` | from module options |
50
+ | `ssoSignInOnlyPolicy` | `NUXT_PUBLIC_SSO_SIGN_IN_ONLY_POLICY` | from module options |
49
51
  | `ssoResetPasswordPolicy` | `NUXT_PUBLIC_SSO_RESET_PASSWORD_POLICY` | from module options |
50
52
  | `ssoLoginPath` | `NUXT_PUBLIC_SSO_LOGIN_PATH` | from module options |
51
53
  | `ssoExcludePaths` | `NUXT_PUBLIC_SSO_EXCLUDE_PATHS` | from module options |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phila/sso-nuxt",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -18,8 +18,8 @@
18
18
  "dependencies": {
19
19
  "@nuxt/kit": "^3.0.0",
20
20
  "defu": "^6.0.0",
21
- "@phila/sso-core": "0.0.8",
22
- "@phila/sso-vue": "0.0.8"
21
+ "@phila/sso-core": "0.0.9",
22
+ "@phila/sso-vue": "0.0.9"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "nuxt": "^3.0.0"