Activities of "vu.dh@veek.vn"

Hello vu.dh@veek.vn,

Please try this,

app.Use((ctx, next) => 
 
        { 
 
            ctx.Request.Scheme = "https"; 
 
            return next(ctx); 
 
        }); 

This code needs to be added in " public override void OnApplicationInitialization(ApplicationInitializationContext context) " in this file - **AuthServerModule.cs

Please do let me know if this solution works.

Thanks, Anjali

The issue relates to Nginx configure, I fixed it, thanks for your support.

AuthServerModule

I did it but the issue is still existing.

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 Anjali, I did it but the problem is still existing.

Provide us with the following info:

  • ABP Framework version: v7.3.2
  • UI Type: Angular
  • Database System: MongoDB
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace: "https for all urls required. Also for urls received by discovery. Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."
  • Steps to reproduce the issue:

I am using nginx to host api, authentication and angular within https but when I go to the angular website, I am getting the error message: https for all urls required. Also for urls received by discovery. Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation.

However, when I go to url https://xxx.well-known/openid-configuration some endpoints are show with http. My expectation is they should https.

How do I fix my issue?

Showing 1 to 4 of 4 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11