From b88a365ba5d342a0cc7b5a9ea730345c756b892d Mon Sep 17 00:00:00 2001 From: Dusan Jakub Date: Mon, 2 Oct 2023 12:21:25 +0200 Subject: [PATCH] add more redirects --- src/main/java/com/ysoft/geecon/repo/ClientsRepo.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/ysoft/geecon/repo/ClientsRepo.java b/src/main/java/com/ysoft/geecon/repo/ClientsRepo.java index cd04f64..40e9e5b 100644 --- a/src/main/java/com/ysoft/geecon/repo/ClientsRepo.java +++ b/src/main/java/com/ysoft/geecon/repo/ClientsRepo.java @@ -22,11 +22,17 @@ public class ClientsRepo { register(new OAuthClient("oauth-playground", "OAuth playground", null, List.of("https://oauth-playground.online/flow/code-2", "https://oauth-playground.online/flow/pkce-3", - "https://oauth-playground.online/flow/webauthn-2"))); + "https://oauth-playground.online/flow/implicit-2", + "https://oauth-playground.online/flow/webauthn-2", + "https://oauth-playground.online/flow/evil" + ))); register(new OAuthClient("oauth-playground-localhost", "OAuth playground", null, List.of("http://localhost:5555/flow/code-2", "http://localhost:5555/flow/pkce-3", - "http://localhost:5555/flow/webauthn-2"))); + "http://localhost:5555/flow/implicit-2", + "http://localhost:5555/flow/webauthn-2", + "http://localhost:5555/flow/evil" + ))); } public Optional getClient(String clientId) {