diff --git a/src/ServerlessWorkflow.Sdk/Models/Authentication/OAuth2AuthenticationEndpointsDefinition.cs b/src/ServerlessWorkflow.Sdk/Models/Authentication/OAuth2AuthenticationEndpointsDefinition.cs index 8f61f3b..a96f835 100644 --- a/src/ServerlessWorkflow.Sdk/Models/Authentication/OAuth2AuthenticationEndpointsDefinition.cs +++ b/src/ServerlessWorkflow.Sdk/Models/Authentication/OAuth2AuthenticationEndpointsDefinition.cs @@ -24,7 +24,7 @@ public record OAuth2AuthenticationEndpointsDefinition /// Gets/sets the relative path to the token endpoint. Defaults to `/oauth2/token` /// [Required] - [DataMember(Name = "authority", Order = 1), JsonPropertyName("authority"), JsonPropertyOrder(1), YamlMember(Alias = "authority", Order = 1)] + [DataMember(Name = "token", Order = 1), JsonPropertyName("token"), JsonPropertyOrder(1), YamlMember(Alias = "token", Order = 1)] public virtual Uri Token { get; set; } = new("/oauth2/token", UriKind.RelativeOrAbsolute); /// @@ -41,4 +41,4 @@ public record OAuth2AuthenticationEndpointsDefinition [DataMember(Name = "introspection", Order = 3), JsonPropertyName("introspection"), JsonPropertyOrder(3), YamlMember(Alias = "introspection", Order = 3)] public virtual Uri Introspection { get; set; } = new("/oauth2/introspect", UriKind.RelativeOrAbsolute); -} \ No newline at end of file +}