add: user grants

TODO: add grant creation api, grant tab in sessions tab of settings, grant api endpoints
This commit is contained in:
trisua 2025-05-31 14:38:38 -04:00
parent 7de2c2e935
commit bf27c51ad3
8 changed files with 98 additions and 7 deletions

View file

@ -10,7 +10,7 @@
("class" "card small flex items-center justify-between gap-2")
(span
("class" "flex items-center gap-2")
(text "{{ icon scroll-text }}")
(icon (text "scroll-text"))
(span (text "{{ file_name }}"))))
(div

View file

@ -582,7 +582,7 @@
method: "POST",
})
.then((res) => res.json())
.then(async (res) => {
.then(async (_) => {
// create challenge and store
const verifier = await trigger("connections::pkce_verifier", [
128,