fancy-napkin-38843
03/02/2023, 4:36 PMinitializeSelfServiceLoginFlowWithoutBrowser
from @ory/kratos-client
`V0alpha2api`:
new V0alpha2Api(
new Configuration({
basePath: kratosUrl,
baseOptions,
}),
kratosUrl,
axios
)
The React Native WebView API accepts passing headers, cookies (as part of the headers) and even injecting javascript into it. Our initial thought was somehow providing it with session information so that it can be used as a way to skip the login screen entirely during the SSO process.
Thank you!proud-plumber-24205
03/06/2023, 2:11 PMIs it even possible to bypass the login screen without compromising security, considering that the user is already logged in in the app?I am a bit confused by this since the login flow will just succeed if there is a valid cookie. e.g. react-app -> webview (with cookie) -> sso login -> checks session -> redirects back with token -> get session in app
fancy-napkin-38843
03/07/2023, 12:56 PMproud-plumber-24205
03/07/2023, 4:31 PMfancy-napkin-38843
03/10/2023, 10:40 AMbland-eye-99092
03/10/2023, 10:43 AM