Skip to main content

get_consent_info

Function get_consent_info 

Source
pub async fn get_consent_info(
    pool: Data<PgPool>,
    query: Query<ConsentInfoQuery>,
    user: AuthUser,
) -> ControllerResult<Json<ConsentInfo>>
Expand description

GET /api/v0/main-frontend/oauth/consent-info - What the consent screen shows: the client asking and a checkbox state per requested scope. The client must already be known, which the authorize endpoint ensures before redirecting to the consent screen.