Is it 2 different identity/user stores?
Should I be able to log on your platform and your community widget using the same identity?
If no, you can just deploy Ory 2 times or create 2 Ory Network projects with the different TTL for sessions.
magnificent-energy-493
02/07/2023, 4:22 PM
Btw, why the different times for session timeout?
Would be interested what the threat model/business case behind it is.
a
agreeable-lifeguard-99976
02/07/2023, 4:45 PM
It’s Fintech and yes it’s the same user identity for the platform and the community chat.
In our case we want session to expire within say a day.
The community widget requires that the users can stay logged in to chat and respond to messages.
Does this make sense?
m
magnificent-energy-493
02/07/2023, 5:35 PM
Yes totally. Is the community widget a web app that runs in the browser/SPA or a native/mobile application?
I am thinking maybe you can handle the widget sessions through OAuth2 and the platform sessions normally without OAuth2