Hash portion of URL lost during SSO redirect
Summary
Slack: https://gitlab.slack.com/archives/C02GABPC4UV/p1648645141984649
It appears that private Pages sites under groups and/or projects with SSO enabled lose the hash portion of the URL during the SSO login/redirect.
Steps to reproduce
Notice that redirects back to the application do appear to preserve the hash. For example, deep linking into a comment thread: https://gitlab.com/internal-handbook/internal-handbook.gitlab.io/-/issues/22#note_877040372
Compare this to the redirect that is performed when authenticating to a Pages site: https://internal-handbook.gitlab.io/company/KPIs/#product-kpis
If you are not already authenticated you will be redirected back to /company/KPIs/
without the hash.
/cc @ericschurter