Skip to content

Import profile image from omniauth #575

@elad-eyal

Description

@elad-eyal

When authenticating with Google, frab can take the profile image from the google account. Google assigns a default image to users without a profile image, so this is what will be used.

image

If anyone has an LDAP server in the wild with images, let me know. I took whatever our enterprise LDAP server delivers.

The environment variable OVERRIDE_PROFILE_PHOTO is used to configure priorities. If set, then the Google (or LDAP) image overrides frab image on every login. If the environment variable is not set, then image is copied if there's no avatar defined for the user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions