-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
NetBox version
v3.3.5
Python version
3.10
Steps to Reproduce
- Install Netbox on Ubuntu 22.04 by following the official documentation.
- Configure the Okta integration by following the official documentation.
- Try to log in via Okta
Expected Behavior
Netbox logs in successfully.
Observed Behavior
A Django error page loads ands shows an error:
ModuleNotFoundError: No module named 'jose'
I'm able to resolve the issue by installing python-jose using the below steps:
sudo -i
source /opt/netbox/venv/bin/activate
sudo pip install python-jose[openidconnect]
sudo pip install python-jose[cryptography]
deactivate
sudo systemctl restart netbox netbox-rq
It's possible that those commands are redundant, but either way I needed python-jose to make Okta work. After installing Okta sign-in works without issue. Perhaps this could be resolved in the future by adding python-jose to the requirements.txt? Let me know if you need any more info.
Thank you for all your work!
Metadata
Metadata
Assignees
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application