chore: document standard deviation when using globs

add example on how to toggle the underlying
client implementation based on DevMode.
This commit is contained in:
Tim Möhlmann 2023-03-17 08:28:28 +02:00
parent b184713eb9
commit 82c1eefe72
3 changed files with 32 additions and 11 deletions

View file

@ -418,7 +418,7 @@ func (s *Storage) GetClientByClientID(ctx context.Context, clientID string) (op.
if !ok {
return nil, fmt.Errorf("client not found")
}
return client, nil
return RedirectGlobsClient(client), nil
}
// AuthorizeClientIDSecret implements the op.Storage interface