You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, a dynamic authenticator is supposed to return a single positional value (hence the tuple of length 1), and that value needs to be a map. Sorry for leaving you in the rain and guessing ..
As described in Corssbar WAMP-CRA dynamic authentication docs:
The authentication procedure I registered is defined as this (the result is a
std::map
):And I got this error with the client trying to authenticate via the WAMP-CRA authentication:
RX message: abort [{"message":"got invalid return type \"<class 'autobahn.wamp.types.CallResult'>\" from dynamic authenticator"}, "wamp.error.authentication_failed"]
How shall I return the secret and role in the authenticate procedure here? Can't find any example code, please allow me asking here.
The text was updated successfully, but these errors were encountered: