-
Hello together, is there a way to force django-allauth to use Port X for redirects? Current Redirect-URL after clicking SSO-Button: Seems, that allauth is using the Port provided in the openid-connector-configuration:
and not the value provided in the keycloak-openid-configuration: Maybe i've configured something wrong, but my application is running in a containerized environment. Therefore i would like to use the container-name to access the openid-configuration from my keycloak-container. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You are referring to the URL where allauth redirects to, to initiate the OIDC handshake? That definitely does not use So, according to your
|
Beta Was this translation helpful? Give feedback.
allauth really doesn't do any processing with that URL, except for adding
?query-parameters
. See:https://github.com/pennersr/django-allauth/blob/main/allauth/socialaccount/providers/oauth2/provider.py#L119
and:
https://github.com/pennersr/django-allauth/blob/main/allauth/socialaccount/providers/oauth2/client.py#L50
As you can see, the URL is used as is.