This message was deleted.
# general
m
This message was deleted.
w
I replicated the logic in "dashboard" component ("/")
p
You need to specify the logout URL in the UserAuthCard component Like so https://github.com/ory/elements/blob/main/src/stories/Ory/Auth.stories.tsx#L41-L45
You can have some logic in your login UI to get a logout URL only if you have a session, then pass it along to the UserAuthCard additional props.