Add application_type to the Dynamic Client Registration request (#1613)
This commit is contained in:
parent
28806b1b6e
commit
20c464c55b
1 changed files with 223 additions and 3 deletions
|
|
@ -120,6 +120,9 @@ public sealed class Program
|
|||
/// <summary>Gets the <c>scope</c> field from the most recent Dynamic Client Registration request.</summary>
|
||||
public string? LastRegistrationScope { get; private set; }
|
||||
|
||||
/// <summary>Gets the <c>application_type</c> field from the most recent Dynamic Client Registration request.</summary>
|
||||
public string? LastApplicationType { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Entry point for the application.
|
||||
/// </summary>
|
||||
|
|
@ -681,6 +684,7 @@ public sealed class Program
|
|||
}
|
||||
|
||||
LastRegistrationScope = registrationRequest.Scope;
|
||||
LastApplicationType = registrationRequest.ApplicationType;
|
||||
|
||||
// Validate redirect URIs are provided
|
||||
if (registrationRequest.RedirectUris.Count == 0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue