Cotal TypeScript packages
    Preparing search index...

    Function normalizeIdpUrl

    • Normalize + guard the IdP base URL: https (or http on a loopback IP literal for dev), no query/hash, no trailing slash — the normalized string is also the session-cache key, so …/api/auth and …/api/auth/ must land on the same entry.

      Parameters

      • idpUrl: string

      Returns string