It’s not a Firebase issue, it’s a configuration issue on Discourse side.
TS said Discourse was running elsewhere. This happens when Discourse triggers the SSO.
@vishal_vr you just need to remove the www. in front of the URL in your Discourse SSO settings.