Important
When you create the OAuth application in Webflow, make sure to enable the Authorized user (Read-only) scope. If this scope is not enabled, retrieving the user information will fail, resulting in the entire authorization flow to fail.
services.AddAuthentication(options => /* Auth configuration */)
.AddWebflow(options =>
{
options.ClientId = configuration["Webflow:ClientId"] ?? string.Empty;
options.ClientSecret = configuration["Webflow:ClientSecret"] ?? string.Empty;
})
None.
None.