4. Self-Disclosure API#

If your service needs information for or about the requesting user, you can fetch user data like school roles and class memberships by calling the Self-disclosure API. This is illustrated in step 8 (students details) of Authentication and user data retrieval.

The user, who logs in with their browser, sends an auth_code. It enables the API to fetch the requested data. The student or teacher in return receive this auth_code from the IDP of their school authority.

The Swagger User Interface (Swagger UI) is accessible at

The IP of your service will be added to the allow-list (whitelist) and you will be able to call the API from your application after you have registered it as described in Onboarding process.

For more information about the API, see the ID Broker manual for the Self-disclosure API.