Trying to configure Okta/Auth0 OIDC on Netbox v3.6.4 but getting a 404 error #14185
-
I'm following the instructions here: Server Error Netbox files and installation notes: root@ip-10-176-80-98: Excerpt from configuration.py: REMOTE_AUTH_ENABLED = True Screenshots of my Auth0 configs are attached. I see from the Auth0 logs that the authentications are successful. I'm likely missing something simple. Any help would be appreciated. Thanks. ![]() ![]() ![]() ![]() ![]() ![]() |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Looks to me like python-social-auth is broken. PSA has hard-coded URL paths with "v1" in their name here:
OktaMixin is inherited by OktaOAuth2, and in turn by OktaOpenIdConnect But the Okta URL you gave clearly doesn't use
I think PSA would need to be changed so that OktaOpenIdConnect doesn't inherit the (bad) token URL. That's a problem you can isolate (with a test case not dependent on Netbox) and then take upstream. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Looks to me like python-social-auth is broken.
PSA has hard-coded URL paths with "v1" in their name here:
OktaMixin is inherited by OktaOAuth2, and in turn by OktaOpenIdConnect
But the Okta URL you gave clearly doesn't use
v1
in the paths.