Hello kirotech,
Please do let us know if this solution has worked for you?
Can we close this ticket if your query is resolved? Please confirm.
Awaiting for your valuable response.
Thank You, Anjali
Hello imranStem,
Please do let us know if this solution has worked for you?
Can we close this ticket if your query is resolved? Please confirm.
Awaiting for your valuable response.
Thank You, Anjali
Hello kirotech,
Please do let us know if this solution has worked for you?
Awaiting for your response.
Thank You, Anjali
Hello william@iwell.nl,
Does the solution worked for you given in the previous reply or help us understand the scenario ?
Please do let us know so that we can assist you better.
Thank You, Anjali
Hello vu.dh@veek.vn,
Can you please add the previous code in **AuthServerModule.cs
file and check again?
Please do let me know if anything else is needed.
Thanks, Anjali
Hello Dev2ng,
Here's a checklist of things to check and configure in the Azure portal for your application registration:
Application Registration: Make sure your application is registered in Azure AD. If it's not, you need to create an application registration. Authentication: Verify that you have configured the correct Redirect URIs, which are the endpoints where Azure AD should redirect the user after authentication. See below screen shot
Please do let me know if anything else is needed.
Thanks, Anjali
Hi
we have the following implementation which abp follows https://docs.abp.io/en/abp/latest/Best-Practices/Module-Architecture
Create you controller in HttpApi.csproj Project implement and inject you ApplicationService
.
Create **ApplicationService ** in Application.csproj
Create interface of the application service in Application.Shared.csproj
Hello Dev2ng,
Please try to add required url in the CorsOrigins variable as highlighted in screenshot.
CORS Configuration: If you are developing a web application, this error can also occur due to Cross-Origin Resource Sharing (CORS) issues. Make sure that the resource's CORS settings allow requests from the origin example - https://login.microsoftonline.com.
Please do let me know if anything else is needed.
Thanks, Anjali
Hello vu.dh@veek.vn,
Please add this block of code to **HttpApiHostModule.cs
in public override void OnApplicationInitialization(ApplicationInitializationContext context)
app.Use((ctx, next) =>
{
ctx.Request.Scheme = "https";
return next();
});
let me know if this helps you.
Thanks, Anjali
Hi,
You can create this file under HttpApi.Host project if you don't have auth server seperated.
create following folder structure and place above code in Login.cshtml.cs
if you have a project with AuthServer then please do above steps in that project
Read more about overriding existing models and services https://docs.abp.io/en/abp/latest/UI/AspNetCore/Customization-User-Interface#example-2