We have a requirement to display GitHub’s OAuth2 web flow login screen / consent granting screen within an iFrame which is there in a different web application.
I know by default GitHub sends the “X-Frame-Options: deny” header. Therefore, we cannot render those screen within an iFrame.
I want to know whether there is any way of configuring above ‘X-Frame-Option’ parameter? - so that we can use GitHub’s web interfaces within an IFrame from a different application.
As I think, this might not be possible with github.com cloud version. But, Is there a way which we can allow above using GitHub Enterprise - on-premise version?