Replies: 1 comment 2 replies
-
|
Hey @Zycon42 maybe I'm not getting something but why would the browser session cookie be included here at all? in general electron is a bit of a weird case since its technically also a browser under the hood. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We have web app, electron app, api (unimportant here) and kratos. Kratos is behind a proxy on a webapp so on the same origin. Our electron app is using native app authentication flows with
return_session_token_exchange_code=trueand system browser OAuth as described here.The issue is following:
I think that kratos should ignore the browser session cookie if it's on the social login callback for the API flows.
I considered following workarounds/solutions to prevent browser from sending cookies on google -> kratos redirect
SameSite=Strictfor session cookie, but that breaks account linking for the webapp I thinkDo I miss something obvious or have any ideas or recommendations? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions