File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ public static void AddOpenApiScalarReference(this IEndpointRouteBuilder app)
3939 options . TokenUrl = $ "https://login.microsoftonline.com/{ GlobalConfiguration . ApiSettings ! . EntraId . TenantId } /oauth2/v2.0/token";
4040 options . ClientId = GlobalConfiguration . ApiSettings ! . EntraId . ClientId ;
4141 options . ClientSecret = "fQB8Q~GkKsBaQFKnrTLEGXpRHWejyASJB6ZMGba~" ;
42+ options . CredentialsLocation = CredentialsLocation . Body ;
4243 options . SelectedScopes = new List < string >
4344 {
4445 $ "{ GlobalConfiguration . ApiSettings ! . EntraId . ClientId } /.default"
@@ -50,6 +51,7 @@ public static void AddOpenApiScalarReference(this IEndpointRouteBuilder app)
5051 options . TokenUrl = $ "https://login.microsoftonline.com/{ GlobalConfiguration . ApiSettings ! . EntraId . TenantId } /oauth2/v2.0/token";
5152 options . RefreshUrl = $ "https://login.microsoftonline.com/{ GlobalConfiguration . ApiSettings ! . EntraId . TenantId } /oauth2/v2.0/token";
5253 options . ClientId = GlobalConfiguration . ApiSettings ! . EntraId . ClientId ;
54+ options . CredentialsLocation = CredentialsLocation . Body ;
5355 options . SelectedScopes = new List < string >
5456 {
5557 $ "{ GlobalConfiguration . ApiSettings ! . EntraId . ClientId } /.default"
You can’t perform that action at this time.
0 commit comments