Hi, @masum.ulu We do not want to implement anything sprecific. We just want to have "Login" or "Login with this user" buttons as stand alone buttons - out from "Actions" drop down. I can not find any examples hot to implement (click) action on button.
We have implemented saparate page with list of delegated users for CurrentUser. And we want to add button "Login", but we do not know how to properly implement (click) event for this button.
Hi, @sumeyye.kurtulus Thank you for your replay and links to documents but I still have some doubts. May you provide simple code/flow how we should use all of this.
Let's assume I have created custom component with list of users on my custom Angular page. For some users I can put button "Login" because (I have custom Controller and get users I have delagations about). So I did login and I see list users: Example: User 1 > "Login" User 2 > "No permissions"
May you put example of code for "Login" button event (Angular side)?
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?