Users who sign in to your endpoint with a single sign-on provider now bring their picture with them. You see it in your Users list, and your app gets it with every request, so it can show a face next to the name without asking anyone to upload anything.
What's new
- Pictures from sign-in. Google, GitHub, GitLab, Okta, Auth0 and other OpenID Connect providers give a picture. It's kept at sign-in and refreshed at each one.
- Microsoft too. Turn on Fetch users' pictures on your Microsoft provider. Microsoft asks each user once to allow it.
- From your identity provider. Over SCIM, the user's
photosset their picture. - In your app. The signed token has a
pictureclaim, and you can turn on anX-User-Pictureheader under Sign-in & access › Your app. A Microsoft picture loads at/_tunnel_auth/avatar.pngon your endpoint, and each signed-in user only ever sees their own there. - In your dashboard. Your Users list shows each user's picture, and the API's user list has
picture_urlandpicture_source. - On their account page. Users see their picture at
/_tunnel_auth/account.
Get started
- Nothing to set up for Google, GitHub and the other providers: pictures appear at each user's next sign-in.
- For Microsoft, open your provider under Sign-in & access › Sign-in and turn on Fetch users' pictures.
- In your app, read
picturefrom the token you already verify and show it as an image. - Read the docs: Pictures.