Calling multiple API from MVC

I have the following code in the C# MVC application, but I want to call more than one APIs from MVC. so I want to add multiple audience. for eg “API-1”, “API-2” and so on. how do i modify the following code?

 services.AddAuth0WebAppAuthentication(options =>
                options.Domain = "";
                options.ClientId = AppSettings.AuthenticationClientId;
                options.ClientSecret = AppSettings.AuthenticationClientSecret;
                options.Scope = AppSettings.AuthenticationScopes;
            }).WithAccessToken(options =>
                options.Audience = "API-1";

Hey there @distnie !

Multiple audiences is not supported by Auth0 - Rather, you will want to use a single logical API:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.