Arun Kumarr wrote:Why is your logout coming via login?
What are you intending to do in this code - "login/login?logout"
here is my controller that would handle that path
this works but i return the same login page that i have, i did this because when i try to map the same path form my logoutUrl and successLogOutUrl i get a loop errror because i think that i can't use the same url for both
here is my actual secuirty configuration
i created a logOut page that is a exact copy of my login page, because when i use /login/login?logout it works i see the login page again but i'm not logout at all, i can put any direction in my search bar and i will go there without having to login.
that's why i created a exact copy of my login page but i think it shouldn't be like that, since all the examples i had whatched they use this login?logout url.
Thanks for the info you posted it helped me to understand betterr the **/ notation