hi
There is no such sample now, we will try to add it later.
hi
Please check your csproj file to see the version of Lepton packages.
It should be 2.3.*-* for abp 7.3.3.
hi
Add your ClaimsPrincipalContributor to the AuthServer project.
In the AuthServer project, you can get the IdentityUser entity(UserManager).
hi
You can add the role id and organization id to principal
https://docs.abp.io/en/abp/latest/Authorization#claims-principal-factory
hi
I think there is no angular code for this example.
Good news.
hi
You should make the remember feature invalidate when the user's 2fa changes. This can be complicated.
We will introduce the session management feature in 8.2.
hi
the existing database will still be used by other systems so we don't need to change it,
You don't need to change the database and tables.
You need to :
DbContext class. DbSetOnModelCreating method of DbContexthi
Our project is just a net core app. You can build it locally, which means it is no problem.
Is it possible to compile your trial project with bitbucket runner?
You can try following:
dotnet build /graphBuild to replace dotnet build command.hi
You can add the scope to your TokenRequest parameter.
https://github.com/abpframework/abp/blob/dev/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web.Host/MyProjectNameWebModule.cs#L168
Example:
ar client = new HttpClient();
var response = await client.RequestTokenAsync(new TokenRequest
{
Address = "https://demo.identityserver.io/connect/token",
GrantType = "custom",
ClientId = "client",
ClientSecret = "secret",
Parameters =
{
{ "custom_parameter", "custom value"},
{ "scope", "api1" }
}
});