diff --git a/frappe/integrations/oauth2.py b/frappe/integrations/oauth2.py index 39f98e2f1b..7abcfb5655 100644 --- a/frappe/integrations/oauth2.py +++ b/frappe/integrations/oauth2.py @@ -113,7 +113,7 @@ def authorize(**kwargs): resp_html = frappe.render_template( "templates/includes/oauth_confirmation.html", response_html_params ) - frappe.respond_as_web_page("Confirm Access", resp_html) + frappe.respond_as_web_page("Confirm Access", resp_html, primary_action=None) except (FatalClientError, OAuth2Error) as e: return generate_json_error_response(e)