Skip to content

Instantly share code, notes, and snippets.

View nahun's full-sized avatar

Nathan Wheeler nahun

  • Zoom
  • Seattle, WA
View GitHub Profile
@nahun
nahun / README.md
Last active October 2, 2023 15:10
NetBox with Okta SSO using OAuth

NetBox with Okta SSO using OAuth

This is an example setup with NetBox using Okta for authentication. It uses the Python Social Auth library that is supported in NetBox starting in v3.1.

See the NetBox docs on SSO.

This is written to support NetBox v3.1.

Okta Setup

An OIDC application is required in Okta.

@nahun
nahun / README.md
Last active March 25, 2024 18:18
NetBox with AzureAD OAuth

NetBox with AzureAD SSO using OAuth

This is an example setup with NetBox using AzureAD for authentication. It uses the Python Social Auth library.

Most of this was taken from this gist: https://gist.github.com/leoluk/16d91ec22d833945c7ac7ed2b3b05a27

This is written to support NetBox v2.10 to v3.0. I'll try to note differences for 2.9 or earlier.

NOTE: NetBox v3.1 added basic support for using social_auth so most of this is no longer required and can be placed in the configuration.py file.

AzureAD Setup