1) I dont want to use /secur/logout.jsp as it will log me out from all the active salesforce sessions.
2) I also dont want to use prompt=login, because if an user has a parallel active session, I want the app to use that session to log in the user automatically.
Update: 3) I also tried revoking the access token, after which when I try to login, the previous user is automatically logged in without asking for the credentials.
I am developing a connected app in salesforce that allows users to login through salesforce credentials(using salesforce/services/authorize). However I am unable to find a way to log the user out or end that particular session.
Can someone please help me out on this?