Insurance SDK — Demo launcher branch: feat/first-version
Simulates the mobile host. Builds the handoff body and POSTs it to /api/sdk/handoff with the chosen access token, then loads the portal.
Access token (TokenProvider.getAccessToken)
Demo token Real token
Linked customer (cidp mock seed — docs/cidp-mock-data.xlsx) Sebastian Rakowski — 510007 — 4 policies Jan Kowalski — 510008 — no policies Anna Nowak — 510009 — 2 policies Rafal Karwecki — 510010 — no policies Jacek Fiedorowicz — 510011 — no policies Jakub Jedynak — 510012 — no policies Adrian Klimek — 510013 — no policies Malgorzata Radzikowska-Chrzanowska — 510014 — no policies Emilia Lutkowska — 510015 — no policies Mariusz Serafin — 510016 — no policies Jean-Luc Dunes — 510017 — no policies Sabine Pham — 510018 — no policies Tony Zhou — 510019 — no policies Zhongyi Li — 510020 — no policies zęóąśłżźćńAZĘÓĄŚŁŻŹĆŃÄÖßÜäöüte Tesstingtestingtestingtestingtestingtestingtesting — 510021 — no policies Ja Te — 510022 — no policies a a — 510023 — no policies Radzikowska-Chrzanowska — 510024 — no policies User Error — 510025 — no policies Иван 张伟 — 510026 — no policies partnerCustomerId (sub) fb750182-dec1-4ab9-a832-8138f9dfddd2 internalCustomerNumber 510007 email [email protected] phone +48512345678 dateOfBirth 1985-03-15 policies 5000020230525, 5000021230601, 5000020230716, 5000021230410 Sending demo-token:fb750182-dec1-4ab9-a832-8138f9dfddd2 — requires ALLOW_DEMO_TOKEN=true on the backend. The id after the colon becomes the session sub and the OIDC_TOKEN header sent to the bank API.
Theme (PreferencesProvider.getThemeTag)
light dark
Changing the theme re-runs the handoff and reloads so the cookie applies everywhere.
Language (PreferencesProvider.getLanguageTag) pl en uk ru
startPath Product catalog — /products Policy detail (Sebastian, adult, ≤30d → withdrawal) — /policies/5000020230716 Policy detail (Sebastian, adult, >30d → termination) — /policies/5000020230525 Policy detail (Sebastian, children, ≤30d → withdrawal) — /policies/5000021230601 Policy detail (Sebastian, children, >30d → termination) — /policies/5000021230410 Policy detail (Anna, adult, ≤30d → withdrawal) — /policies/5000020230930 Policy detail (Anna, children, ≤30d → withdrawal) — /policies/5000021230930 Withdrawal deep-link (Sebastian, children, ≤30d) — /policies/5000021230601/withdraw Resume (adult) — /applications/demo-adult Resume (children) — /applications/demo-children Custom…
▸ Context params (ContextParamsProvider.getParams)
Headers sent to /api/sdk/handoff Authorization: Bearer demo-token:f…f9dfddd2
Content-Type: application/json Body sent to /api/sdk/handoff {
"lang": "en",
"theme": "light",
"startPath": "/products",
"context": {
"channel": "banking-app",
"sessionId": "",
"employeeId": "EMP-789",
"assistId": "AST-456",
"bankAccountNumber": "PL08109024025854652479328467"
}
} Launch SDK