Login Issue (403 Forbidden) While calling an ERPNext/Any Frappe site from Iframe

While calling an erpnext or frappe site from an iframe. we are able to see the login page but after submitting the credentials we are not able to pass through further…
the error : 403 Forbidden & “frappe.exceptions.PermissionError:

You are not permitted to access this resource.Function helpdesk.api.telemetry.is_enabled is not whitelisted.