Commit 46dee7c
fix(api): use userInternalUUID for addon invocation auth context (#112)
The InvokeAddon handler was incorrectly using "userID" from context (which
contains the provider user ID string like alice@tmi.local) instead of
"userInternalUUID" (which contains the actual UUID). This caused 401 errors
with "Invalid authentication context" when users tried to invoke addons.
Also updates diagram_model_transform.go to remove SecurityBoundary field
references that were removed from MinimalNode and Node_Data types in the
OpenAPI spec update.
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent 91af483 commit 46dee7c
File tree
5 files changed
+875
-952
lines changed- api
5 files changed
+875
-952
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | | - | |
47 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
48 | 50 | | |
49 | | - | |
| 51 | + | |
50 | 52 | | |
51 | | - | |
| 53 | + | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| |||
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
62 | | - | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
| |||
0 commit comments