Hello everyone. Is possible obtain `session-token`...
# talk-kratos
m
Hello everyone. Is possible obtain
session-token
for
oidc/google
for webapp? currently we have a phone app that works fine with
user/password
and
oidc/google
and both generate
session-token
now we want to create a webapp with the same flow for auth for
user/password
generate the
session-token
but with
oidc/google
when I sent the code for
self-service/login/
Kratos throw the error
invalid_grant
(we are generate el google oauth link with a help of react plugin)
I the plugin of react I set the redirect_url (oidc/callback/google) kratos show the error the
ory_kratos_continuity
cookie does not exists
I found this https://www.ory.sh/docs/identities/sign-in/check-session-token-cookie-api
Copy code
Ory stores session data in different ways for browser apps and native apps:

For browser apps, Ory stores session data in Ory Session Cookies
For native apps, Ory stores session data in Ory Session Tokens
and this https://www.ory.sh/docs/identities/native-browser
Copy code
Because it is very dangerous to use native app endpoints in a browser context, Ory prevents you from using these APIs in the browser.