-
Notifications
You must be signed in to change notification settings - Fork 2
Callback
Wim Vandenhaute edited this page Mar 17, 2016
·
6 revisions
The linkID callback feature allows you to provide a location for the linkID mobile app to land on when the user has finished his linkID session. From here you can for example ask some extra questions, show a customized payment finished webpage, ...
You can even start a new linkID authentication / payment from here if you like.
- location : location the linkID client will load when finished
- appSessionId : optional sessionId you can provide to load in session state before linkID was started
- inApp : display the location inApp (webView) or via the client's browser
Here's an example of a callback URL:
https://<yourdomain/callback?appId=<your-app>&responseId=03379D4E-5F20-4FBD-8463-A91AC05958BD&language=en
The SDKs provide a LinkIDCallbackResponse class to parse these parameters.
- appId : an identifier for your application in linkID. This is added in case you own multiple applications within linkID and you wish to land on the same callback page. In that case you'll need the appId to know for which application the linkID user has just completed a linkID session when fetching the response
- responseId : the identifier for the linkID user's SAML v2.0 authentication response
- language : the language of the user's linkID app.
- appSessionId : optional appSessionId you specified in the callback configuration