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

Avatar URL should always be /api/users/:id/avatar #152

Open
MichaelBailly opened this issue Nov 9, 2020 · 0 comments
Open

Avatar URL should always be /api/users/:id/avatar #152

MichaelBailly opened this issue Nov 9, 2020 · 0 comments

Comments

@MichaelBailly
Copy link
Contributor

When using <img src="...">, we cannot plug custom headers like bearer ones.

To be compatible with OIDC:

The route "get my avatar" /api/user/profile/avatar is protected, so it should not be used anymore.

The route to use instead is /api/users/:userId/profile/avatar , which is an unprotected route.

MichaelBailly added a commit to MichaelBailly/esn-frontend-common-libs that referenced this issue Nov 9, 2020
MichaelBailly added a commit to MichaelBailly/esn-frontend-common-libs that referenced this issue Nov 9, 2020
MichaelBailly added a commit that referenced this issue Nov 10, 2020
 #152 use personal avatar route compatible with OIDC
@MichaelBailly MichaelBailly added this to the FT Inbox Sprint 2 milestone Nov 16, 2020
pbson pushed a commit to pbson/esn-frontend-common-libs that referenced this issue Nov 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant