I am following the Dave Syer tutorial, SSO with OAuth2, part 5 https://github.com/spring-guides/tut-spring-security-and-angular-js/tree/master/oauth2
It has a UI / API gateway, resource server, and authorization server. When I exit the UI / API application exit, I get the following: enter here image description Cors issue
What is currently coming from the Dave Syer tutorial is that when the user logs out, he changes the authentication flag to false, so it seems that the user is logged out, but they just left the UI / API gateway application.
When the user clicks on the login, remember that they do not have an exit from the authentication server. Thus, the user has not yet gone through the authentication and approval cycle.
What I want, when the user logs out and tries to log in again, the user must enter a username and password. In fact, they should start over, that is, the system must cancel the session and / or token.
I hit my head against the wall, trying to find a solution for this. Can anyone point out how to solve / achieve this.
source
share