# Personal, scopes & consent
Overview
This chapter explains how scopes are requested, how the consent form works, and how personal data (Personal) is provided after consent.
# Scopes
- Purpose: define which data is retrievable after consent.
- Selection: per login client in the button configurator.
- Economy:
unique_id,profession,country,language. - Business (extended): also
name,email,address,occupation_detail(discipline/activity). - Return values: see User data return values.
Implementation note
DocCheck only supports scopes that are defined and documented by DocCheck. Custom or deviating scope names are not processed.
- Use the scope names listed in this documentation.
- Review available fields and examples under User data endpoint return values.
# Consent form
- Per login client, shown during the login flow.
- Required: privacy policy URL.
- Optional: additional note (e.g., data usage purpose).
- Mandatory scopes: cannot be deselected; users still consent/decline as a whole.
- Detailed setup: Configure the consent form.
# Data retrieval (OAuth2)
- Requirements: user consent and selected scopes.
- Flow: Authorization code → Access token → User data endpoint.
- Configuration: client secret per login client in DocCheck Access (opens new window). Details: OAuth2 service.
# Personal (Business only)
- Description: personal data after user consent for CRM/process integration.
- Retrieval: via user data endpoint according to granted scopes.
# Notes
- Only data that was configured and consented to is provided.
- Use scopes consistently with your privacy policy.
- For state passthrough and target selection, see Redirect & State flow.
# Unique_ID (system scope)
unique_idis available as a selectable scope starting with the Economy license in the Button Configurator.- It is not displayed in the consent form and is not explicitly consented; no separate consent is required.
- You decide whether to use
unique_idfor correlation (e.g., pseudonymous linking). - Retrieve it via the User data endpoint; see field details under User data endpoint return values.
# Data Mapping
- For mapping between scopes and returned fields, see the User data endpoint return values.