mirror of
https://github.com/ysoftdevs/oauth-playground-server.git
synced 2026-11-29 12:02:36 +01:00
add more redirects
This commit is contained in:
1 parent
31bb3a7fa8
commit
b88a365ba5
1 file changed
+8
-2
@@ -22,11 +22,17 @@ public class ClientsRepo {
|
|||||||
register(new OAuthClient("oauth-playground", "OAuth playground", null,
|
register(new OAuthClient("oauth-playground", "OAuth playground", null,
|
||||||
List.of("https://oauth-playground.online/flow/code-2",
|
List.of("https://oauth-playground.online/flow/code-2",
|
||||||
"https://oauth-playground.online/flow/pkce-3",
|
"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,
|
register(new OAuthClient("oauth-playground-localhost", "OAuth playground", null,
|
||||||
List.of("http://localhost:5555/flow/code-2",
|
List.of("http://localhost:5555/flow/code-2",
|
||||||
"http://localhost:5555/flow/pkce-3",
|
"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<OAuthClient> getClient(String clientId) {
|
public Optional<OAuthClient> getClient(String clientId) {
|
||||||
|
|||||||
Reference in new issue
Block a user