update social-core-auth dependency version #6020

Closed
opened 2025-12-29 19:35:47 +01:00 by adam · 3 comments
Owner

Originally created by @oasys on GitHub (Jan 28, 2022).

NetBox version

v3.1.6

Feature type

Change to existing functionality

Proposed functionality

Bump social-auth-core dependency in requirements.txt to 4.2.0.

Use case

Use Okta SSO with Netbox. A regression in social_auth that prevented this from working is now fixed in python-social-auth/social-core#588 and included in version 4.2.0.

Database changes

none

External dependencies

Update requirements.txt:

-social-auth-core==4.1.0
+social-auth-core==4.2.0
Originally created by @oasys on GitHub (Jan 28, 2022). ### NetBox version v3.1.6 ### Feature type Change to existing functionality ### Proposed functionality Bump social-auth-core dependency in `requirements.txt` to `4.2.0`. ### Use case Use Okta SSO with Netbox. A regression in social_auth that prevented this from working is now fixed in python-social-auth/social-core#588 and included in version 4.2.0. ### Database changes none ### External dependencies Update requirements.txt: ```diff -social-auth-core==4.1.0 +social-auth-core==4.2.0 ```
adam added the status: acceptedtype: feature labels 2025-12-29 19:35:47 +01:00
adam closed this issue 2025-12-29 19:35:48 +01:00
Author
Owner

@oasys commented on GitHub (Jan 28, 2022):

For reference, here's the symptom I was seeing:

After successful authentication, netbox redirects to https://<okta custom url>/oauth2/.well-known/openid-configuration?client_id=xxxxxxx which is a 404. If I manually go to /.well-known/openid-configuration?client_id=xxxxxxxx (without the /oauth2/) in my browser, I see the correct json data.

If you want, assign to me, and I'll submit the (one-line) PR.

@oasys commented on GitHub (Jan 28, 2022): For reference, here's the symptom I was seeing: After successful authentication, netbox redirects to `https://<okta custom url>/oauth2/.well-known/openid-configuration?client_id=xxxxxxx` which is a 404. If I manually go to `/.well-known/openid-configuration?client_id=xxxxxxxx` (without the /oauth2/) in my browser, I see the correct json data. If you want, assign to me, and I'll submit the (one-line) PR.
Author
Owner

@jeremystretch commented on GitHub (Jan 28, 2022):

This will be bumped in the v3.1.6 release.

@jeremystretch commented on GitHub (Jan 28, 2022): This will be bumped in the v3.1.6 release.
Author
Owner

@davekempe commented on GitHub (Jan 31, 2022):

@jeremystretch do you mean in 3.1.7?

@davekempe commented on GitHub (Jan 31, 2022): @jeremystretch do you mean in 3.1.7?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6020