Skip to content

Commit de1be82

Browse files
fix(#25): include client ID in metadata for access token generation
1 parent e45aca8 commit de1be82

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Applications/Backend/Source/HttpsRichardy.Federation.WebApi/Pages/Authorize.cshtml.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ public async Task<IActionResult> OnPostAsync()
121121
var code = Guid.NewGuid().ToString("N").ToUpperInvariant();
122122
var metadata = new Dictionary<string, string>
123123
{
124+
{ "client.id", Parameters.ClientId ?? string.Empty },
124125
{ "code.challenge", Parameters.CodeChallenge ?? string.Empty },
125126
{ "code.challenge.method", Parameters.CodeChallengeMethod ?? string.Empty }
126127
};

0 commit comments

Comments
 (0)