This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
nocode:identity-link [2019/08/13 05:25] 740803864 |
nocode:identity-link [2019/08/13 05:58] 740803864 [Positive response] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Identity Link support ====== | ====== Identity Link support ====== | ||
- | You can follow these steps to integrate no-code | + | You can follow these steps to integrate no-code |
- | * Send transaction | + | * Send identity link HTTP request to ADUCID Binder |
* Process authentication on ADUCID Binder | * Process authentication on ADUCID Binder | ||
- | * Read transaction | + | * Read identity link JSON response |
See chapters below for details. | See chapters below for details. | ||
===== Set up ===== | ===== Set up ===== | ||
- | At first, | + | At first, |
^ Name ^ Values ^ Mandatory ^ Description ^ | ^ Name ^ Values ^ Mandatory ^ Description ^ | ||
- | | transactionId | + | | identityLinkId |
- | | peigMessage | MultipartFile | No | transaction | + | | remoteAims | List< |
- | | factor | + | | peigMessage | MultipartFile | No | identity link message in plain or HTML format | |
+ | | peigMessageData | ||
+ | | initLF | Boolean | ||
| redirectUrl | String | Yes | URL to redirect after ADUCID Binder successful authentication | | | redirectUrl | String | Yes | URL to redirect after ADUCID Binder successful authentication | | ||
| errorPage | String | No | URL to redirect after ADUCID Binder unsuccessful authentication | | | errorPage | String | No | URL to redirect after ADUCID Binder unsuccessful authentication | | ||
| udi | String | No | if defined, security attack check is realized | | | udi | String | No | if defined, security attack check is realized | | ||
- | | peigId | + | | request |
- | **It is neccessary to add '' | + | **It is neccessary to add '' |
- | We must also remember to provide generated | + | We must also remember to provide generated |
- | ===== Transaction | + | ===== Identity link itself ===== |
- | When transaction | + | When identity link data are successfully uploaded, we can start identity link itself. It can be done with use of [[web-integration: |
<code javascript> | <code javascript> | ||
- | aducid.setStartOperationUrl("/ | + | aducid.setStartOperationUrl("/ |
- | aducid.setResultOperationUrl("/ | + | aducid.setResultOperationUrl("/ |
aducid.setProxyUrl("/ | aducid.setProxyUrl("/ | ||
</ | </ | ||
- | Expression '' | + | Expression '' |
===== Response processing ===== | ===== Response processing ===== | ||
- | User is now redirected to '' | + | User is now redirected to '' |
+ | |||
+ | There is also saved used remote AIM in HTTP attributes. It can be accessed as an attribute with prefix '' | ||
==== Positive response ==== | ==== Positive response ==== | ||
- | See [[nocode:transactions# | + | When identity link was successful ('' |
+ | |||
+ | <code javascript> | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | When '' | ||
+ | |||
+ | <code javascript> | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | } | ||
+ | </ | ||
==== Negative response ==== | ==== Negative response ==== | ||
See [[nocode: | See [[nocode: | ||