Israeli Bank Importer - v1.44.5
    Preparing search index...

    Function registerGoogleRoutes

    • Registers the Google consent + callback routes unconditionally. Each request reads the live Google config so the flow reflects UI-saved credentials without a restart and fails cleanly (503) whenever Google sign-in is not configured.

      Parameters

      • app: FastifyInstance

        Fastify instance.

      • live: RuntimeAccessor

        Accessor returning the current per-request portal runtime.

      • grant: GrantFn

        Callback to merge a verified factor into the session.

      Returns { registered: true }

      Confirmation that the Google routes are registered.