           post_auth_checks,
            pre_auth_checks,
        )

        error_code_map = {
            &#34;SIGN_UP_NOT_ALLOWED&#34;: &#34;Cannot sign in / up due to security reasons. Please try a different login method or contact support. (ERR_CODE_006)&#34;,
            &#34;SIGN_IN_NOT_ALLOWED&#34;: &#34;Cannot sign in / up due to security reasons. Please try a different login method or contact support. (ERR_CODE_004)&#34;,
            &#34;LINKING_TO_SESSION_USER_FAILED&#34;: {
                &#34