Skip to content

Commit

Permalink
chore: remove debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
tnotheis committed Jan 10, 2025
1 parent 242d67b commit 7fc1937
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -49,14 +49,6 @@ public async Task<IActionResult> CreateIdentity(CreateIdentityRequest request, C
{
var client = await _applicationManager.FindByClientIdAsync(request.ClientId, cancellationToken);

var clients = await _applicationManager.ListAsync(cancellationToken: cancellationToken).ToListAsync(cancellationToken);

_logger.LogInformation("NUMBER OF CLIENTS: {NumberOfClients}", clients.Count);
foreach (var clientItem in clients)
{
_logger.LogInformation("Client: {ClientId}", clientItem.ClientId);
}

if (client == null || !await _applicationManager.ValidateClientSecretAsync(client, request.ClientSecret, cancellationToken))
throw new OperationFailedException(GenericApplicationErrors.Unauthorized());

0 comments on commit 7fc1937

Please sign in to comment.