jwt token authentication not working in NSO: Trying to enable JWT authentication in our NSO.Done the prerequisite like python3, requests package etc.Still the ncs-python-cisco-cfp-jwt-auth.log says authenticate:261 INFO: Exception jwt-auth: No module named 'requests'Previously cnctest was the user, now admin user also created for CW authentication. After requests module installed, does NSO need a restart.Kindly check the setup once. [ scale setup]172.20.63.189 cnctest/Ovatest123@admin/Ovatest123@
Looks like requests module has not been installed on your VM. Please install and let me know if the error still existsrequests module was installed for python3 , in both cnctest, admin login. still the issue exists.Hi Rama,Please install requests module as root so it can be available system-wide.$ sudo su password for cnctest: # python3Python 3.8.15 (default, Dec 29 2022, 08:40:49) on linuxType "help", "copyright", "credits" or "license" for more information.>>> import requestsTraceback (most recent call last): File "<stdin>", line 1, in <module>ModuleNotFoundError: No module named 'requests'>>> thank you Van. It worked after installing requests as root user.Glad it works out for you, Rama. I'm going to close this ticket.Thanks!