Can you please share some screenshots?
Hi,
I guess you can call the API via Swagger page because you're logged into the app right?
If you open a new private window and navigate to Swagger page without login, you should not be able to call the authorization API
Hi,
Here is the document: https://github.com/domaindrivendev/Swashbuckle.AspNetCore#enable-oauth20-flows
We have configured OAuth in the app template
You just need to fill the form and click the Authorize button.
client_secret default value is 1q2w3e* and cilent_id is <YourProjectName>_Swagger, you can see it in the appsettings.json file.
Hi,
Can you try this?
npm install --global yarn
Hi,
how to disable recaptcha box abp.io from db
We use the AccountSettingNames.Captcha.UseCaptchaOnLogin setting to check if captcha is enabled.
https://support.abp.io/QA/Questions/3131#answer-9782b72a-81de-b277-6d8e-3a0405e36d3e https://support.abp.io/QA/Questions/3131#answer-8e130695-300a-53d7-8d5a-3a0406e465ac
The steps I provide work for me but not you. I'm thinking it may be related to your project, so I want to check if there is something wrong.
Could not reproduce the problem, can you share a project with me? shiwei.liang@volosoft.com
Could you share the error logs?
Hi,
You can put it in the ...ApplicationModule class of .Application project.
You can inject ISettingManager
public async override Task OnApplicationInitializationAsync(ApplicationInitializationContext context)
{
var settingManager = context.ServiceProvider.GetRequiredService<ISettingManager>();
await settingManager.SetGlobalAsync(AccountSettingNames.Captcha.UseCaptchaOnLogin, "False");
.......
}