@openape/nuxt-auth-sp 0.1.9 → 0.1.10

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/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@openape/nuxt-auth-sp",
3
3
  "configKey": "openapeSp",
4
- "version": "0.1.8",
4
+ "version": "0.1.10",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.4",
7
7
  "unbuild": "unknown"
@@ -4,10 +4,10 @@ const FLOW_COOKIE = "openape-flow";
4
4
  export function getSpConfig() {
5
5
  const config = useRuntimeConfig();
6
6
  return {
7
- spId: config.openapeSp.spId || "sp.example.com",
8
- openapeUrl: config.openapeSp.openapeUrl || "",
9
- spName: config.openapeSp.spName || "OpenApe Service Provider",
10
- fallbackIdpUrl: config.openapeSp.fallbackIdpUrl || "https://id.openape.at"
7
+ spId: (config.openapeSp.spId || "sp.example.com").trim(),
8
+ openapeUrl: (config.openapeSp.openapeUrl || "").trim(),
9
+ spName: (config.openapeSp.spName || "OpenApe Service Provider").trim(),
10
+ fallbackIdpUrl: (config.openapeSp.fallbackIdpUrl || "https://id.openape.at").trim()
11
11
  };
12
12
  }
13
13
  export async function saveFlowState(event, state, flow) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@openape/nuxt-auth-sp",
3
3
  "type": "module",
4
- "version": "0.1.9",
4
+ "version": "0.1.10",
5
5
  "description": "OpenAPE Service Provider Nuxt module — adds OIDC login via DNS-based IdP discovery",
6
6
  "author": "Delta Mind GmbH",
7
7
  "license": "AGPL-3.0-or-later",
@@ -31,7 +31,7 @@
31
31
  "@nuxt/kit": "^3.21.1",
32
32
  "@openape/auth": "^0.1.2",
33
33
  "@openape/core": "^0.1.2",
34
- "@openape/nuxt-auth-sp": "0.1.9",
34
+ "@openape/nuxt-auth-sp": "0.1.10",
35
35
  "defu": "^6.1.4"
36
36
  },
37
37
  "peerDependencies": {