Closed rv2931 closed 2 years ago
Hi I finally partially solved my problem. I was using OIDC_RP_IDP_SIGN_KEY="RS256" instead of OIDC_RP_SIGN_ALGO="RS256" And I had to fill the OIDC_RP_IDP_SIGN_KEY with Kid from Keycloak/RS256 key Si good configuration for keycloak seems to be
OIDC_RP_SIGN_ALGO="RS256"
OIDC_RP_IDP_SIGN_KEY='Key from realm settings>keys>RS256>Kid'
Now I'm facing to a
AttributeError at /oidc/callback/ 'bytes' object has no attribute 'verify'
but as I already read about this error, I think it is a common error so I'll close this ticket and do another one if needed
Hello I have a bitnami/keycloak docker instance on my local dev machine and trying to authenticate a django mozilla-django-oidc client First problem I met was a
I solved this error by replacing "localhost" by "host.docker.internal:8443" for OIDC_OP_AUTHORIZATION_ENDPOINT, OIDC_OP_TOKEN_ENDPOINT and OIDC_OP_USER_ENDPOINT. It is due to the use of docker platform here localhost is not the real localhost and then you have to use host.docker.internal
Then I met
As my keycloak instance is not using a verified SSL cert, I add OIDC_VERIFY_SSL=False in my dev.py platform settings
Now I'm stucked with error
I have tried different values of OIDC_RP_IDP_SIGN_KEY setting that seems to be linked to OIDC_OP_JWKS_ENDPOINT but I didn't manage to solve this error It seems to be link to encryption but changing OIDC_RP_IDP_SIGN_KEY doesn't change anything until now
If you have an idea of the source of this problem and explain it a little it would be great. I surely have something to do somewhere, odic plugin ? keycloak ?
Thank you in advance for your support. As I'm a beginner with Django I don't really know which data to supply to help you Here you have the Traceback