Open gregoirebyvets opened 1 year ago
do you have a onClick handler? Can you dump your ui button code here?
Here is my ui button code.
<HeaderButton onClick={() => auth.signoutSilent()}> Log out </HeaderButton>
And auth is provided by this line
const auth = useAuth();
How does it look like rendered is it a <a>
tag, which Safari reacts with download. Maybe try something else?
It's actually a button:
<button tabindex="-1" class="bg-trinidad-500 font-normal text-white rounded-full px-3 py-2 mx-2 lg:px-6 lg:py-2 lg:mx-2 text-sm lg:text-base">Log out</button>
no idea, you will need to track it down, does that button + onClick
with a console.log("aha")
and no auth.signoutSilent()
also trigger the download?
Ok thanks for your help, I'll investigate deeper and give a feedback if I find anything relevant
Hello guys,
I'm quite newbie with oidc and I have an issue that I dont understand.
On Safari, when a user click on the "Logout" button (wich use signoutSilent() ), the browser ask if I want to download the "logout" file (from Keycloak logout url)
Do you know why I'm facing this ?
Thanks