Activities of "gterdem"

@saintpoida thanks for point that out, we will fix the documentation.

Currently, you can define a new client for your angular app in the identityserver with implicit flow and alter the authentication of angular app. This link may help: https://damienbod.com/2016/03/02/angular2-openid-connect-implicit-flow-with-identityserver4/

@saintpoida Hello,

This line

if (auth?.Principal == null || items == null || !items.ContainsKey("LoginProviderKey")) Should be

if (auth?.Principal == null || items == null || !items.ContainsKey(LoginProviderKey))

It is not a bug; as it is stated in the docs

..we will be using a minorly modified version of the source code..

Because those are private members as seen here: https://github.com/dotnet/aspnetcore/blob/c56aa320c32ee5429d60647782c91d53ac765865/src/Identity/Core/src/SignInManager.cs#L22-L23

Furhermore, the documentation is for MVC app, angular app will be different and 3rd party openid integration has not been implemented on angular yet.

Answer

Hello, Did you check this guide here? https://github.com/abpframework/abp/blob/dev/docs/en/Customizing-Application-Modules-Extending-Entities.md

Too se detailed error, you can use: if (env.IsDevelopment()) { IdentityModelEventSource.ShowPII = true; } But if you are getting IDX20803 error, probably you can't reach to IdentityServer. Either https problem or server is down.

Hello,

I used Visual studio Docker support which creates a Dockerfile under project *.HttpApi.Host. The Docker image is created and a container runs successfully. But when I try to access the api from Docker using http://localhost:-Docker port- from browser, it is not accessible. Visual Studio runs the containers with additional parameters (like located inside docker-compose.vs.debug.g.yml). Your http server (kestrel) is alive as long as you are debugging it. That's why you can't access them when you are not running through Visual Studio. So, you manually need to build the docker images for production.

Question -

  1. Do we have some instructions/guidelines/scripts to deploy and run abp.io asp.net core api into Docker container? To extend it further, I want to deploy and run it from AWS ECS. We are planning to add guideline about how to run abp on containers for both development and production. However I can't hint a date about it unfortunatelly.

  2. How do we map port of local machine which is specified in appsettings.json to the port of docker container? You can pass the port as environment variable from top to bottom (env-> docker -> appsettings)

Hope it helps.

Hello gexiaoxu,

Can you give more details to reproduce the issue?

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