Skip to content

Commit

Permalink
Fix social auth in django 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
newswangerd committed Jul 5, 2023
1 parent 5a0c1cd commit b6b19e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions galaxy_ng/app/dynaconf_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ def configure_keycloak(settings: Dynaconf) -> Dict[str, Any]:
data["SOCIAL_AUTH_LOGIN_REDIRECT_URL"] = settings.get(
"SOCIAL_AUTH_LOGIN_REDIRECT_URL", default="/ui/"
)
data["SOCIAL_AUTH_POSTGRES_JSONFIELD"] = True
data["SOCIAL_AUTH_JSONFIELD_CUSTOM"] = "django.contrib.postgres.fields.JSONField"
data["SOCIAL_AUTH_JSONFIELD_ENABLED"] = True
data["SOCIAL_AUTH_JSONFIELD_CUSTOM"] = "django.db.models.JSONField"
data["SOCIAL_AUTH_URL_NAMESPACE"] = "social"
data["SOCIAL_AUTH_KEYCLOAK_EXTRA_DATA"] = [
("refresh_token", "refresh_token"),
Expand Down

0 comments on commit b6b19e3

Please sign in to comment.