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

feat(auth-azure): upload and set user photo on login #1132

Merged
merged 1 commit into from
Feb 21, 2023

Conversation

rpvsilva
Copy link
Member

Fixes #1124

Important Notes:

To test this locally you need to run docker-compose up azurite -d which is an azure container emulator. Then you need to add AZURE_STORAGE_CONNECTION_STRING="UseDevelopmentStorage=true;" on your backend/.env file.

Also, the avatar property is being injected into the token, so you can get it from there to show the authenticated user avatar. On user list it's already returning on the payload.

This pull request closes #1124

@rpvsilva rpvsilva added enhancement New feature or request frontend backend labels Feb 21, 2023
@rpvsilva rpvsilva self-assigned this Feb 21, 2023
Copy link
Contributor

@nunocaseiro nunocaseiro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@rpvsilva rpvsilva merged commit c48b625 into main Feb 21, 2023
@rpvsilva rpvsilva deleted the feat/implement-get-user-photo-on-login branch February 21, 2023 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE]: store microsoft user's picture
2 participants