Skip to content

Commit

Permalink
Use forward_url parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
jjlawren committed Aug 27, 2019
1 parent cac839f commit 6731f0a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plexauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ def auth_url(self, forward_url=None):
'clientID': self._client_identifier,
'code': self._code,
}
if forward_url:
parameters['forwardUrl'] = urllib.parse.urlencode(forward_url)

url = AUTH_URL.format(urllib.parse.urlencode(parameters))
return url

Expand Down

0 comments on commit 6731f0a

Please sign in to comment.