Merge branch 'social_login' into develop

This commit is contained in:
Richard van der Hoff 2021-01-28 22:08:11 +00:00
commit 0d81a6fa3e
11 changed files with 108 additions and 62 deletions

View file

@ -333,6 +333,8 @@ def _get_auth_flow_dict_for_idp(idp: SsoIdentityProvider) -> JsonDict:
e = {"id": idp.idp_id, "name": idp.idp_name} # type: JsonDict
if idp.idp_icon:
e["icon"] = idp.idp_icon
if idp.idp_brand:
e["brand"] = idp.idp_brand
return e