BUNDLE proxy URLs for Partners as well as Streams
@@ -535,7 +535,11 @@ class Partner(models.Model):
def get_access_url(self):
ezproxy_url = settings.TWLIGHT_EZPROXY_URL
access_url = None
- if self.authorization_method == self.PROXY and ezproxy_url and self.target_url:
+ if(
+ self.authorization_method in [self.PROXY, self.BUNDLE]
+ and ezproxy_url
+ and self.target_url
+ ):
access_url = ezproxy_url + "/login?url=" + self.target_url
elif self.target_url:
access_url = self.target_url
