Warning |
---|
HUOM HUOM!! Tämä sivu on piilotettu toistaseksi julkisista, muuta julkiseksi kun valmis |
...
Create a link to retrieve the Authorisations
TODO
(success URL, failure URL, user identification)
...
They will be redirected to the ID service where they will see another confirmation dialog. [WHY????]
Finally they will be redirected to the success URL.
...
After being redirected to the Success URL, a copy of the Authorisation data is retrievable from the ID service’s Authorisations API.
Figuring out who created the Authorisation
See example in Authorisations API on how to retrieve active Authorisations granted to a specific user.
For each Authorisation record, see the subject.type
and subject.value
properties. The type should be User
and the value is the User ID of the person or company who granted the Authorisation.
Look up this Principal User account using the User API: GET /api/rest/v1/user/{userId}
The personalIdentityCodes
property will hold an array of objects. Their identityCode
value is the user’s personal identity code (“henkilötunnus”).