From b1ec2382b080b0f48e11adcff8f948cde74619b7 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Wed, 30 Jul 2025 15:49:15 +0100 Subject: [PATCH] allow testing resource owner --- src/Yavsc.Server/Config.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Yavsc.Server/Config.cs b/src/Yavsc.Server/Config.cs index 88a43540..4c321ef1 100644 --- a/src/Yavsc.Server/Config.cs +++ b/src/Yavsc.Server/Config.cs @@ -58,7 +58,7 @@ public static class Config ClientName = "Client Credentials Client", ClientSecrets = { new Secret("511536EF-F270-4058-80CA-1C89C192F69A".Sha256()) }, - AllowedGrantTypes = GrantTypes.ClientCredentials, + AllowedGrantTypes = GrantTypes.ResourceOwnerPasswordAndClientCredentials, AllowedScopes = { "scope1" } },