Problem with logout from App capacitor

Guys, I have a problem with logout after login via Security Provider. The cookies are not removed and the identity is still available. Can anyone tell me where I’m failing? Thank you.