OSIS custom RPC methods not dispatching — blocks WASM login #113
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
All OSIS custom RPC methods return "Unknown method: Custom method 'X' not supported". This blocks the WASM login form which uses
authservice.get_challengeandauthservice.loginvia OSIS RPC.Impact
POST /hero_auth/ui/login), but the WASM app uses OSIS RPC insteadReproduction
Root Cause
OsisAppWrapper::handle_customin hero_osis does not dispatch identity/auth domain methods. Therpc.discoverlists all methods (AuthService, UserService, etc.) but the runtime handler rejects them.Workaround Options
/hero_auth/ui/login) instead of OSIS RPChandle_customin hero_osis to dispatch all registered domain methodsRelated
Signed-off-by: mik-tf
Reopening — the WASM login was worked around by switching to hero_auth REST (no longer uses OSIS RPC for login). But the underlying OSIS custom method dispatch is still broken.
This still affects:
Root cause:
hero_osis_serverservice-level dispatch does not routeAuthService.get_challengeetc. to the identity domain handler. Thehandle_customfix in hero_rpc (1cc7d8a) adds the override toOsisAppWrapper, but the OSIS UI proxies raw JSON-RPC to per-context sockets where the top-level dispatcher fails.Signed-off-by: mik-tf