Revert "Fixed Plex OAuth, should no longer show Insecure warning"

This reverts commit c55fc32c63.
This commit is contained in:
Jamie Rees 2018-07-02 08:06:43 +01:00
parent c55fc32c63
commit cbf331cd09
4 changed files with 24 additions and 29 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");