diff --git a/consent_provider/app.py b/consent_provider/app.py index 0aacb602114f6ca03eafd39b1d487d8e81216096..89abccba038b8c20c74a590b2cacd5f4638349c7 100644 --- a/consent_provider/app.py +++ b/consent_provider/app.py @@ -12,14 +12,14 @@ app = Flask(__name__) def home(): """Checks user app permission - Checks user app permission, by loading a consent object via the Hydra admin API and - validating, that the user triggering the request has sufficient permissions by querying + Checks user app permission by loading a consent object via the Hydra admin API and + validating that the user triggering the request has sufficient permissions by querying the GraphQL API. If the user is allowed to use the app the request is accepted and openID claims are sent to Hydra. Args: - consent_challenge: Reference to a consent challenge object that can be requested via the Hydra - Admin API (GET) + consent_challenge: Reference to a consent challenge object in form of an alphanumeric + String. Can be used to retrieve the consent challenge object via the Hydra Admin API (GET) Returns: Redirect to the url that is provided by the consent challenge object.