Browse Source
Fix the ID6056 logging statement to include the parameter name
pull/1490/head
Robin Sue
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/OpenIddict.Server/OpenIddictServerHandlers.Device.cs
|
|
|
@ -353,7 +353,7 @@ public static partial class OpenIddictServerHandlers |
|
|
|
// See https://tools.ietf.org/html/rfc8628#section-3.1 for more information.
|
|
|
|
if (string.IsNullOrEmpty(context.ClientId)) |
|
|
|
{ |
|
|
|
context.Logger.LogInformation(SR.GetResourceString(SR.ID6056)); |
|
|
|
context.Logger.LogInformation(SR.GetResourceString(SR.ID6056), Parameters.ClientId); |
|
|
|
|
|
|
|
context.Reject( |
|
|
|
error: Errors.InvalidClient, |
|
|
|
|