One DaVinci flow, three ways to surface it. The app's own
page controls the widget's styling through the
end-user-nano theme variables, and passes appKey at
invocation — the flow resolves labels, agreements, and translations
per app (widget.html?app=bcom vs
?app=dmh).
| Method | 3M bCom | Digital Material Hub |
|---|---|---|
| Inline widget Embedded in the page — the app owns everything around it. | widget.html?app=bcom | widget.html?app=dmh |
| Modal popup Widget over the page — no navigation, clean reopen. | modal.html?app=bcom | modal.html?app=dmh |
| OAuth redirect Real OIDC redirect; the flow runs hosted at PingOne. | redirect.html?app=bcom | redirect.html?app=dmh |
Redirect prerequisite: create an OIDC web app in
PingOne (Authorization Code grant), register
<origin>/callback.html as a redirect URI, and put
its clientId/clientSecret in
OIDC_CLIENTS in .env. Inline and modal need
no extra setup.