o
    ÿÑÐb>  ã                   @   s   d dl mZ ddd„ZdS )é    )ÚurlparseFc                 C   s0   |r	|   d¡d S t | ¡}|j}|  d¡d S )z Get 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)ZissuerZexternalÚparsedr   © r   ú`/var/www/secure340b-portal/env/lib/python3.10/site-packages/authlib/oidc/discovery/well_known.pyÚget_well_known_url   s
   
r	   N)F)Zauthlib.common.urlsr   r	   r   r   r   r   Ú<module>   s    