INNER CODE UNIT · Python
Auth0
tokusumi/fastapi-cloudauth · fastapi_cloudauth/auth0.py:27
class Auth0(ScopedAuth):
"""
Verify access token of auth0
"""
user_info = None
def __init__(
self,
domain: str,
customAPI: str,
issuer: Optional[str] = None,
scope_key: Optional[str] = "permissions",
auto_error: bool = True,
):
url = f"https://{domain}/.well-known/jwks.json"
jwks = JWKS(url=url)
if issuer is None: