it’s possible get user info and update user’s sett...
# talk-kratos
s
it’s possible get user info and update user’s setting in ory kraros with the token which got from ory hydra?
m
Hello, yes I think that should be possible, but could you walk me through the whole flow you want to achieve / use case a bit?
s
thanks for your response. I have multiple website and need to build SSO system. I want to display user’s info in all website and user can update info in all website. does the kratos’s public api support that? Or i need to create my new api to intergration that?
m
Hey max, when you check the session, you get a response which you can use to display user info on the website https://www.ory.sh/docs/reference/api#tag/frontend/operation/toSession To update, the user can just use the settings flow and update it themselves: https://www.ory.sh/docs/kratos/self-service/flows/user-settings There are also webhooks that update for example the traits, etc. if you want to do more complex stuff and integrate with 3rd party.
s
For example, user logged in on abc.com, and i need display user info on def.com and xyz.com, so user can update settings on def and xyz. the session cookie only available on abc, so how can I do that?