NetBox
Configure NetBox IPAM with Pocket ID OIDC
This guide does not currently show how to map groups in netbox from OIDC claims
The following example variables are used, and should be replaced with your actual URLS.
- netbox.example.com (The url of your netbox instance.)
- id.example.com (The url of your Pocket ID instance.)
Pocket ID Setup
- In Pocket-ID create a new OIDC Client, name it i.e.
Netbox. - Set a logo for this OIDC Client if you would like too.
- Set the callback URL to:
https://netbox.example.com/oauth/complete/oidc/, or leave blank to autofill on first login. - Copy the
Client ID, and theClient Secretfor use in the next steps.
Netbox Setup
This guide assumes you are using the git based install of netbox.
- On your netbox server navigate to
/opt/netbox/netbox/netbox - Add the following to your
configuration.pyfile:
- Save the file and restart netbox:
sudo systemctl restart netbox netbox-rq