Hi, @Sturla I can not lilnk to my use case this issue. It is not Angular. May you provide how can I call "Login with this user" from Angular side?
We want to implement custom page (Angular) to provide list of users and also button with possibility to "Log in with this user" or "Login" if user has delegates. Functionality should be same way as on Angular Lepton X.
We need this button on custom page
And this button if delegates exists:
How to implement functionality of such buttons? May you provide steps and examples of code for Angular.
I found solution myself. It was not updated abp suite to the lates version. It strange no any warninig where provided during creation of Project. I think it shoud be adjusted on your side because it looks there are dependencies.
This question could be closed.
I did it 3 times. I did 3 new projects and it is same issues. We can make/schedule Teams meeting and I can show you.
Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, and please first use the search on the homepage. Provide us with the following info:
Can not build due to wrong versions of packages:
<br> FIXed by changes to Version="8.0.5" Build. Ok
run dotnet run --migrate-database. Ok.
Severity Code Description Project File Line Suppression State Error CS0246 The type or namespace name 'TestProjectAppService' could not be found (are you missing a using directive or an assembly reference?)
May you try to follow steps I decribed? Please create 1 - 6 steps. I already removed my Project and started new one. If you will not be able to reproduce I will try again.
I can not find any sample/example how to add JWT authentication and authorization to be used. We need to create separate endpoints to be used with JWT, so external App will be able to login using JWT tokens and get data from specific endpoints.
We will create new entities using abp suite and will add authorization so it could be used with jwt. tokens.
Scenario:
Create new project (single-layer)
Add new entities
External Angular/React App should be able to login using user/pass and get JWT token. Login page is part of App. External Angular/React App should be able to get data from entities using jwt token.
May you provide any example how to implement jwt functionality with ABP commercial (team) license?
ABP Framework version: v8.0.1
UI Type: Angular
Database System: EF Core (SQLite)
Auth Server Separated (for Angular): yes
Exception message and full stack trace:
Steps to reproduce the issue: steps: 1 Create new solution using apb suite
2 Run AuthServer and Host >> OK
2.1 Run Angular >> OK. Login with admin user >> OK. Admin menu exists.
3 Add module "Identity Server UI" using "abp add-module Volo.Identityserver.Ui" << error during additional process on build error CS0234: The type or namespace name 'IdentityServer' does not exist in the namespace 'Volo.Abp' (are you missing an assembly reference?)
4 Fix error by adding Package to ***EntityFrameworkCore.csproj project >> <PackageReference Include="Volo.Abp.IdentityServer.EntityFrameworkCore" Version="8.0.0" /> 5 Run AuthServer and Host >> OK 6 Run Angular >> error on file ./src/app/app.module.ts:31:12-34 - Error: export 'UiConfigModule' (imported as 'UiConfigModule') was not found in '@volo/abp.ng.identity-server/config' (possible exports: IDENTITY_SERVER_ROUTE_PROVIDERS, IdentityServerConfigModule, configureRoutes)
7 Fixed by changeing 'UiConfigModule' to 'IdentityServerConfigModule'
8 Run Angular >> App runs without Admin menu after Login with admin user.