
    ~h>                         d dl mZ ddZy)    )urlparsec                     |r| j                  d      dz   S t        j                  |       }|j                  }|j                  d      dz   S )zGet well-known URI with issuer via Section 4.1.

    :param issuer: URL of the issuer
    :param external: return full external url or not
    :return: URL
    /z!/.well-known/openid-configuration)rstripr   path)issuerexternalparsedr   s       ]/opt/mcp/mcp-sentiment/venv/lib/python3.12/site-packages/authlib/oidc/discovery/well_known.pyget_well_known_urlr      sJ     }}S!$GGGv&F;;D;;sAAA    N)F)authlib.common.urlsr   r    r   r   <module>r      s    (Br   