RuntimeError: Missing “jwks_uri” in metadata for flask and Google authlib

Solution 1
auth0 = oauth.register(
    'auth0',
    client_id=CLIENT_ID,
    client_secret=CLIENT_SECRET,
    api_base_url="https://" + AUTH0_DOMAIN,
    access_token_url="https://" + AUTH0_DOMAIN + "/oauth/token",
    authorize_url="https://" + AUTH0_DOMAIN + "/authorize",
    client_kwargs={
        'scope': 'openid profile email',
    },
server_metadata_url=f'https://{AUTH0_DOMAIN}/.well-known/openid-configuration'
)
Solution 2
oauth.register(
    name="google",
    client_id = "your client id",
    client_secret= "your client secret"
    access_token_url= "https://www.googleapis.com/oauth2/v4/token",
    access_token_params=None,
    authorize_url= "https://accounts.google.com/o/oauth2/v2/auth",
    authorize_params=None,
    api_base_url= "https://www.googleapis.com/oauth2/v3/",
    client_kwargs= {"scope": "openid email profile"},
    server_metadata_url= 'https://accounts.google.com/.well-known/openid-configuration'
)