@humandialog/forms.svelte 1.1.0 → 1.1.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@humandialog/forms.svelte",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Basic Svelte UI components for Object Reef applications",
5
5
  "devDependencies": {
6
6
  "@playwright/test": "^1.28.1",
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "type": "module",
28
28
  "dependencies": {
29
- "@humandialog/auth.svelte": "^1.8.0",
29
+ "@humandialog/auth.svelte": "^1.8.1",
30
30
  "flowbite-svelte": "^0.44.4",
31
31
  "svelte-icons": "^2.1.0",
32
32
  "svelte-spa-router": "^4.0.1"
@@ -18,7 +18,7 @@
18
18
  import Modal from './modal.svelte'
19
19
  import Checkbox from './components/checkbox.svelte';
20
20
  import {Popover, Alert} from 'flowbite-svelte'
21
- import { reef } from '@humandialog/auth.svelte';
21
+ import { reef, session, signInHRef } from '@humandialog/auth.svelte';
22
22
  import { ComboSource } from './';
23
23
  import {removeAt} from './utils'
24
24
  import {showMenu} from './components/menu'
@@ -477,6 +477,9 @@
477
477
  auth_group: new_user.auth_group,
478
478
  files_group: new_user.files_group,
479
479
  role: new_user.acc_role,
480
+ client_id: $session.configuration.client_id,
481
+ redirect_uri: `${window.location.origin}/#/auth/cb`,
482
+ state: `${window.location.origin}/#/auth/signin`,
480
483
  set:
481
484
  {
482
485
  [nameAttrib]: new_user.name,