add clients

This commit is contained in:
Dusan Jakub
2023-09-25 15:10:22 +02:00
parent 15345f3371
commit dca982327c

View File

@@ -15,6 +15,9 @@ public class ClientsRepo {
public ClientsRepo() {
register(new OAuthClient("my-public-client", "Example public client", null, "https://localhost:8888/oauth_success"));
register(new OAuthClient("oauthdebugger", "Example public client", null, "https://oauthdebugger.com/debug"));
register(new OAuthClient("oauth-playground", "OAuth playground", null, "https://oauth-playground.online/flow/code-2"));
register(new OAuthClient("oauth-playground-localhost", "OAuth playground", null, "http://localhost:5555/flow/code-2"));
}
public Optional<OAuthClient> getClient(String clientId) {