diff --git a/src/App/Utilities/TokenHttpRequestMessage.cs b/src/App/Utilities/TokenHttpRequestMessage.cs index f5e9501b0..c322df397 100644 --- a/src/App/Utilities/TokenHttpRequestMessage.cs +++ b/src/App/Utilities/TokenHttpRequestMessage.cs @@ -11,7 +11,12 @@ namespace Bit.App public TokenHttpRequestMessage() { var authService = Resolver.Resolve(); + var appIdService = Resolver.Resolve(); Headers.Add("Authorization", $"Bearer {authService.Token}"); + if(!string.IsNullOrWhiteSpace(appIdService.AppId)) + { + Headers.Add("DeviceIdentifier", appIdService.AppId); + } } public TokenHttpRequestMessage(object requestObject)