-
Notifications
You must be signed in to change notification settings - Fork 197
Labels
enhancementNew feature or requestNew feature or request
Description
During Implementing an OAuth2 Workflow for the api documentation i'm getting the issue that the redirect page can't be found.
E.g. for local running function http://localhost:7071/oauth2-redirect.html can't be found (404) after successful authentication.
My OpenApiOAuthSecurityFlows looks like this:
class TestOAuth2 : OpenApiOAuthSecurityFlows
{
public TestOAuth2 ()
{
this.Implicit = new OpenApiOAuthFlow()
{
AuthorizationUrl = new Uri("https://xxxx.b2clogin.com/xxxx.onmicrosoft.com/oauth2/v2.0/authorize?p=workflow_id"),
Scopes = { { "https://xxxx.onmicrosoft.com/xxxx-xxx/API.User", "API Access" } },
TokenUrl = new Uri("https://xxxx.b2clogin.com/xxxx.onmicrosoft.com/oauth2/v2.0/token?p=workflow_id")
};
}
}Am i missing some configuration for the redirect page?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request