prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  [Feature Request] Add /authorize Oauth route
  **Is your feature request related to a problem? Please describe.**
  I  have been attempting to use 'auth0-react' to implement Oauth with UCL API, however, this requires a fair bit of tinkering as
  the defaults of this and many other auth libraries are to redirect to a "/authorize?client_id..." endpoint which the UCL API does not support. 
  
  While this can be avoided through customisation,  would it be possible to add a "/authorize" route, as I believe this could make it easier to use some of the "plug and play" Americanized auth libraries available?
  
  **Describe the solution you'd like**
  
   Edit uclapi/backend/uclapi/oauth/urls.py as below 
  ```
  urlpatterns = [
      url(r'authorise/$', views.authorise),
      url(r'authorize/$', views.authorise),    <===== Including views.authorise for the  'authorize/$' route.
      url(r'shibcallback', views.shibcallback),
      url(r'token$', views.token),
      url(r'tokens/scopes$', views.scope_map),
      url(r'tokens/test$', views.token_test),
      url(r'user/allow$', views.userallow),
      url(r'user/deny$', views.userdeny),
      url(r'user/data$', views.userdata),
      url(r'user/studentnumber$', views.get_student_number),
      url(r'deauthorise$', views.deauthorise_app),
      url(r'user/settings$', views.get_settings)
  ]
  ```
  
  ![image](https://user-images.githubusercontent.com/57833957/219857932-86c371d5-c0f0-444b-a179-6c312b48c9c2.png)
  
  ![image](https://user-images.githubusercontent.com/57833957/219857962-7da7e11e-475b-4d6c-bb71-1c6eefcf0354.png)
  
  
  
  
  </issue>
  <code>
  [start of backend/uclapi/oauth/urls.py]
  1 from django.conf.urls import url
  2 
  3 from . import views
  4 
  5 urlpatterns = [
  6     url(r'authorise/$', views.authorise),
  7     url(r'adcallback', views.adcallback),
  8     url(r'token$', views.token),
  9     url(r'tokens/scopes$', views.scope_map),
  10     url(r'tokens/test$', views.token_test),
  11     url(r'user/allow$', views.userallow),
  12     url(r'user/deny$', views.userdeny),
  13     url(r'user/data$', views.userdata),
  14     url(r'user/studentnumber$', views.get_student_number),
  15     url(r'deauthorise$', views.deauthorise_app),
  16     url(r'user/settings$', views.get_settings)
  17 ]
  18
  [end of backend/uclapi/oauth/urls.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
golden_diff: diff --git a/backend/uclapi/oauth/urls.py b/backend/uclapi/oauth/urls.py
  --- a/backend/uclapi/oauth/urls.py
  +++ b/backend/uclapi/oauth/urls.py
  @@ -4,6 +4,7 @@
   
   urlpatterns = [
       url(r'authorise/$', views.authorise),
  +    url(r'authorize/$', views.authorise),
       url(r'adcallback', views.adcallback),
       url(r'token$', views.token),
       url(r'tokens/scopes$', views.scope_map),
  
verification_info: {"golden_diff": "diff --git a/backend/uclapi/oauth/urls.py b/backend/uclapi/oauth/urls.py\n--- a/backend/uclapi/oauth/urls.py\n+++ b/backend/uclapi/oauth/urls.py\n@@ -4,6 +4,7 @@\n \n urlpatterns = [\n     url(r'authorise/$', views.authorise),\n+    url(r'authorize/$', views.authorise),\n     url(r'adcallback', views.adcallback),\n     url(r'token$', views.token),\n     url(r'tokens/scopes$', views.scope_map),\n", "issue": "[Feature Request] Add /authorize Oauth route\n**Is your feature request related to a problem? Please describe.**\r\nI  have been attempting to use 'auth0-react' to implement Oauth with UCL API, however, this requires a fair bit of tinkering as\r\nthe defaults of this and many other auth libraries are to redirect to a \"/authorize?client_id...\" endpoint which the UCL API does not support. \r\n\r\nWhile this can be avoided through customisation,  would it be possible to add a \"/authorize\" route, as I believe this could make it easier to use some of the \"plug and play\" Americanized auth libraries available?\r\n\r\n**Describe the solution you'd like**\r\n\r\n Edit uclapi/backend/uclapi/oauth/urls.py as below \r\n```\r\nurlpatterns = [\r\n    url(r'authorise/$', views.authorise),\r\n    url(r'authorize/$', views.authorise),    <===== Including views.authorise for the  'authorize/$' route.\r\n    url(r'shibcallback', views.shibcallback),\r\n    url(r'token$', views.token),\r\n    url(r'tokens/scopes$', views.scope_map),\r\n    url(r'tokens/test$', views.token_test),\r\n    url(r'user/allow$', views.userallow),\r\n    url(r'user/deny$', views.userdeny),\r\n    url(r'user/data$', views.userdata),\r\n    url(r'user/studentnumber$', views.get_student_number),\r\n    url(r'deauthorise$', views.deauthorise_app),\r\n    url(r'user/settings$', views.get_settings)\r\n]\r\n```\r\n\r\n![image](https://user-images.githubusercontent.com/57833957/219857932-86c371d5-c0f0-444b-a179-6c312b48c9c2.png)\r\n\r\n![image](https://user-images.githubusercontent.com/57833957/219857962-7da7e11e-475b-4d6c-bb71-1c6eefcf0354.png)\r\n\r\n\r\n\n", "before_files": [{"content": "from django.conf.urls import url\n\nfrom . import views\n\nurlpatterns = [\n    url(r'authorise/$', views.authorise),\n    url(r'adcallback', views.adcallback),\n    url(r'token$', views.token),\n    url(r'tokens/scopes$', views.scope_map),\n    url(r'tokens/test$', views.token_test),\n    url(r'user/allow$', views.userallow),\n    url(r'user/deny$', views.userdeny),\n    url(r'user/data$', views.userdata),\n    url(r'user/studentnumber$', views.get_student_number),\n    url(r'deauthorise$', views.deauthorise_app),\n    url(r'user/settings$', views.get_settings)\n]\n", "path": "backend/uclapi/oauth/urls.py"}]}