prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN 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)
  
  
  
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `backend/uclapi/oauth/urls.py`
  Content:
  ```
  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 FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
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"}], "after_files": [{"content": "from django.conf.urls import url\n\nfrom . import views\n\nurlpatterns = [\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    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"}]}