Hi there, I have my router/realm/role set up to disclose both caller and publisher but I am unable to get authid when one ApplicationSession calls another through the router. I asked this question before in 2019 and the answer I got back them was to use an on_join like the following:
def on_join(self, session, details=None):
self._session = session
options = RegisterOptions(details_arg=‘details’)
session.register(self.tw_b_desktop_query, u’biz.site.tw_b_desktop_query’, options)
And then by accessing options.caller_authid I was able to get the ID but with ApplicationSession this does not seem to work and all of the client demos seem to use ApplicationSession. I have a dynamic authenticator and have tried passing back both ‘details’ and ‘extras’ with the authid and nothing seems to work.
Does anyone know how authid can be obtained now? Without this I cannot trust that my DB lookups in the back end call registrar are secure.