Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Aug 8, 2023
1 parent 27e75fd commit 1e1d92b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
-%>
package <%= packageName %>.web.rest;
import org.springframework.http.ResponseEntity;
import org.springframework.security.core.annotation.AuthenticationPrincipal;
import org.springframework.security.oauth2.client.registration.ClientRegistration;
import org.springframework.security.oauth2.client.registration.ReactiveClientRegistrationRepository;
Expand Down Expand Up @@ -47,7 +46,7 @@ public class LogoutResource {
* @param idToken the ID token.
* @param request a {@link ServerHttpRequest} request.
* @param session the current {@link WebSession}.
* @return the {@link ResponseEntity} with status {@code 200 (OK)} and a body with a global logout URL.
* @return status {@code 200 (OK)} and a body with a global logout URL.
*/
@PostMapping("/api/logout")
public Mono<Map<String, String>> logout(@AuthenticationPrincipal(expression = "idToken") OidcIdToken idToken, ServerHttpRequest request, WebSession session) {
Expand Down

0 comments on commit 1e1d92b

Please sign in to comment.