Skip to content

OpenIdConnectAuth <class 'TypeError'>, not sure what's actually wrong. #17121

Discussion options

You must be logged in to vote

I don't know anything about Authelia, but:

  1. I'm not 100% sure you can use social_core.backends.open_id_connect.OpenIdConnectAuth directly without subclassing it. A while back, I tried to contribute this feature rather than a custom Vault subclass. Full gory history in python-social-auth/social-core#669 but some of it (the group membership part) was reverted in python-social-auth/social-core#692

  2. Even if that were to work, I think you've got the wrong redirect_uris:

      redirect_uris:
        - 'https://netbox.mydomain.tld/login'

should be

      redirect_uris:
        - 'https://netbox.mydomain.tld/oauth/complete/oidc'   # See "name = 'oidc'" in PSA source

But having said that, I'd…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@silmarine
Comment options

@candlerb
Comment options

Answer selected by silmarine
@silmarine
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants