Server Error

Traceback (most recent call last):
  File "apps/frappe/frappe/app.py", line 69, in application
    response = frappe.api.handle()
  File "apps/frappe/frappe/api.py", line 54, in handle
    return frappe.handler.handle()
  File "apps/frappe/frappe/handler.py", line 45, in handle
    data = execute_cmd(cmd)
  File "apps/frappe/frappe/handler.py", line 83, in execute_cmd
    return frappe.call(method, **frappe.form_dict)
  File "apps/frappe/frappe/__init__.py", line 1551, in call
    return fn(*args, **newargs)
  File "apps/frappe/frappe/integrations/oauth2.py", line 78, in authorize
    failure_url = frappe.form_dict["redirect_uri"] + "?error=access_denied"
KeyError: 'redirect_uri'

Status: 500