-
Hello all! I am trying to implement SSO using a local Keycloak install, and having a tough time. Netbox and Keycloak both run as containers in Kubernetes. I have configured the remote auth for Keycloak, and also inserted the root CA for my deployment into the Netbox container. When I try to log in via Keycloak, I am redirected to the login, but upon returning to Netbox, I get the error:
I can get "further" by adding SOCIAL_AUTH_VERIFY_SSL: False to my config, but then I get the error:
Here is my config for netbox:
I followed this document (https://python-social-auth.readthedocs.io/en/latest/backends/keycloak.html) to set the Keycloak settings right. Any help would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Ah, writing this out must have helped a bit. I realized there are 2 RS256 keys in my Keycloak, and I was using the Public Key from the one with Provider: rsa-enc-generated. I needed to use the one from rsa-generated. This did not fix the SSL issue, however :( |
Beta Was this translation helpful? Give feedback.
Ah, writing this out must have helped a bit. I realized there are 2 RS256 keys in my Keycloak, and I was using the Public Key from the one with Provider: rsa-enc-generated. I needed to use the one from rsa-generated.
This did not fix the SSL issue, however :(