def verify_client(environ, req, cdb):
    identity = req["client_id"]
    secret = req["client_secret"]
    if identity:
        if identity in cdb:
            if cdb[identity]["client_secret"] == secret:
                return True

    return False


#noinspection PyUnusedLocal
dataset/ETHPy150Open rohe/pyoidc/oidc_example/op1/claims_provider.py/verify_client/original