Web integration
iframe setup
Embed Flinks Connect as an iframe with the requiredredirectUrl parameter:
Handling events
Use the Event Listener to track the OAuth flow:Mobile integration
For mobile apps, OAuth requires special handling because WebViews may not fully support the redirect flow.Recommended approach: system browser
Use the device’s system browser (Safari on iOS, Chrome on Android) instead of a WebView for the best OAuth experience:- Open Flinks Connect in the system browser using your iframe URL.
- Add
oauthWindowRedirect=trueto enable full-page redirects instead of pop-ups. - Set up an HTTPS universal link (iOS) or App Link (Android) so the OAuth callback returns the user to your app.
Returning to your app
After the OAuth flow completes, Flinks redirects to yourredirectUrl with the loginId:
loginId.
WebView configuration
If you must use a WebView, configure it properly:- iOS
- Android
- Hybrid (React Native, Flutter)
- Use
SFSafariViewControllerorASWebAuthenticationSessionfor the OAuth flow - Standard
WKWebViewmay block redirects to external domains - Ensure your app’s domain is properly configured for universal links
Testing
Test your OAuth integration across multiple environments:Simulate an OAuth flow in the Toolbox
You can test the full front-end OAuth experience in the Toolbox by addingdemoOutbound=true to the iframe URL. This routes the Flinks Capital demo institution through the OAuth flow, so you can walk the OAuth screens end to end with sandbox data.
1
Generate an Authorize Token
Call
/GenerateAuthorizeToken with your customerId, instance, and flinks-auth-key to obtain a token for the iframe. Use the Toolbox credentials.2
Load the iframe in OAuth demo mode
Load Flinks Connect with
demoOutbound=true and the token you generated:3
Walk through the simulated OAuth screens
The demo reproduces the full front-end OAuth sequence:
- Consent page
- Financial institution selection
- FI redirecting page
- FI online banking: username / password
- FI online banking: consent screen
- FI online banking: account selection
- Success page (returns the
loginId)
demoOutbound=true runs the Flinks Capital demo institution through the OAuth flow, which is how you exercise the OAuth screens in the sandbox. When you’re ready for end-to-end validation against a real OAuth institution, use a client (production) instance.