Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Gravatar url generation #13

Open
swilgosz opened this issue May 25, 2020 · 0 comments
Open

Add Gravatar url generation #13

swilgosz opened this issue May 25, 2020 · 0 comments
Labels
API Backend - Related Issue enhancement New feature or request

Comments

@swilgosz
Copy link
Member

swilgosz commented May 25, 2020

Overview

Currently, we only have avatars for users when they register through Github. If someone registers using the standard login/password flow, we don't provide any defaults at the moment by the API.

Let's generate the gravatar using gem 'gravtastic'.

  • The Avatar URL should be taken from the Github, if registration happened through OAuth flow
  • Otherwise, the Gravatar Fallback Image should be returned.
  • If no gravatar is set, let's return the placeholder image.
@swilgosz swilgosz assigned swilgosz and unassigned swilgosz May 25, 2020
@swilgosz swilgosz added API Backend - Related Issue enhancement New feature or request labels May 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Backend - Related Issue enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant