Fixed Plex OAuth, should no longer show Insecure warning

This commit is contained in:
Jamie Rees 2018-07-01 22:16:12 +01:00
parent fe590004d2
commit c55fc32c63
4 changed files with 29 additions and 24 deletions

View file

@ -214,7 +214,7 @@ namespace Ombi.Api.Plex
? new Request($"Wizard/OAuth/{pinId}", applicationUrl, HttpMethod.Get)
: new Request($"Login/OAuth/{pinId}", applicationUrl, HttpMethod.Get);
request.AddQueryString("forwardUrl", forwardUrl.FullUri.ToString());
//request.AddQueryString("forwardUrl", forwardUrl.FullUri.ToString());
request.AddQueryString("pinID", pinId.ToString());
request.AddQueryString("code", code);
request.AddQueryString("context[device][product]", "Ombi");