wonderful-salesclerk-46148
04/17/2026, 11:37 AMsession_token_exchange_code , passing the flow id to the in-app web page, and this also is not allowed.
Is there any legal way to use an in-app web registration page and pass the active session/token to the RN app? There are a bunch of apps that use this approach, and maybe I am missing a step?
many thanks in advance! šwonderful-salesclerk-46148
04/21/2026, 12:38 PMmagnificent-energy-493
window.postMessage or a deeplink with a query string to pass data back to the native app.
The limitation here is that what you'd be passing back is a session cookie value, not a session token. You could have a trusted backend endpoint that accepts that cookie value, validates it against Ory's /sessions/whoami, and then issues your own app-level token. But Ory itself won't convert the cookie into a native session token.
So you would need to build this backend glue layer yourself, the rest is supported by Ory as normalwonderful-salesclerk-46148
04/21/2026, 5:35 PMmagnificent-energy-493
some kind of token generated & validated by the app itselfyes I mean this basically
elegant-sunset-99084
04/28/2026, 9:22 AM