Used the "X-Forwarded-Proto" request header to determine the scheme of the original URL in HyePyeSecurityFilter.