When we publish and publish the auth server, we get the following error. All we know about the error is "access denied". What is it that is blocked when trying to access it? We can't get details about it. We looked at your documents and did not find anything special. Also, what is the path it gives on line 20? this is my local location. Is there any description of this location?
Error Images: https://prnt.sc/bOFW3C4gXOen https://prnt.sc/4IurcC5EgAS- If you're creating a bug/problem report, please include followings:
- ABP Framework version: v7.0.0
- UI type: / MVC /
- DB provider: EF Core /
- Tiered (MVC) or Identity Server Separated (Angular): yes /
- Exception message and stack trace:
- Steps to reproduce the issue:"
1 Answer(s)
-
0
HI
AddDevelopmentEncryptionAndSigningCertificate cannot be used in applications deployed on IIS or Azure App Service: trying to use them on IIS or Azure App Service will result in an exception being thrown at runtime (unless the application pool is configured to load a user profile). To avoid that, consider creating self-signed certificates and storing them in the X.509 certificates store of the host machine(s). Please refer to: https://documentation.openiddict.com/configuration/encryption-and-signing-credentials.html#registering-a-development-certificate