INNER CODE UNIT · Python

Auth0CurrentUser

tokusumi/fastapi-cloudauth · fastapi_cloudauth/auth0.py:61

class Auth0CurrentUser(UserInfoAuth):
    """
    Verify ID token and get user info of Auth0
    """

    user_info = Auth0Claims

    def __init__(
        self,
        domain: str,
        client_id: str,
        nonce: Optional[str] = None,
        issuer: Optional[str] = None,
        *args: Any,
        **kwargs: Any,
    ):
        url = f"https://{domain}/.well-known/jwks.json"
        jwks = JWKS(url=url)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…