feat(jellyfin-auth): changed frontend server add flow to use the Quick Connect feature to get the api token
This commit is contained in:
parent
976718b259
commit
1511870766
4 changed files with 64 additions and 11 deletions
|
|
@ -31,6 +31,8 @@ public class ServersController : ControllerBase
|
|||
|
||||
var servers = await _serverService.GetServers();
|
||||
|
||||
_logger.LogDebug("Servers found: {}", servers.Length);
|
||||
|
||||
return Ok(servers);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -176,7 +176,7 @@ public class JellyfinApiClient
|
|||
|
||||
private string GetAuthHeader()
|
||||
{
|
||||
var header = "Client=Test, Device=Test, DeviceId=Test, Version=1";
|
||||
var header = "Client=JellyGlass, Device=JellyGlass, DeviceId=JellyGlass, Version=1";
|
||||
|
||||
if (_apiKey != String.Empty)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue