Hi
You can download the full project Volo.Abp.AspNetCore.Mvc.UI.Theme.Commercial
you are working with public IP and you cannot bind an SSL certificate to an IP. Identity Server doesn't work when there's no HTTPS. This is not an ABP related issue.
because it will also be shown on the register page and I guess you want that.
I think you are making a JS exception. var code;
is defined and also being used before data is being fetched from achievementTypeService.get($typeId)
and that's why it's undefined. this is kinda out of ABP scope but I suggest you to refactor this as below
var createNewOption = function(newCode){
//creating an option for another select
temp = {
id: $achievementRegisterId,
text: '<span><b>' + newCode + '</b> ' + $achievementRegisterName + '</span>' // but not getting the value here
};
//adding the new option in the Select dropdown
newOption = new Option(temp.text, temp.id, false, false);
qualSelect.append(newOption).trigger('change');
}
achievementTypeService.get($typeId)
.then(function (result) {
createNewOption(result.code);
});
Your Identity Server service is running on HTTP. As far as I know, Identity Server requires HTTPS. can you check your both API and Identity Server endpoints are fully functional.
hi,
Volo.Abp.AspNetCore.Mvc.UI.Theme.Commercial
package has been removed from the Lepton solution.
This is an almost empty project. Why do you need this library?
I can share you the project https://gist.github.com/ebicoglu/a486b5f81e11bd32045bb712f3d65ab4
good to know ;)
you can add extra property to the current Tenant
object.
Open YourProjectModuleExtensionConfigurator.cs
and replace the ConfigureExtraProperties()
method with below:
private static void ConfigureExtraProperties()
{
OneTimeRunner.Run(() =>
{
ObjectExtensionManager.Instance.Modules()
.ConfigureSaas(x =>
{
x.ConfigureTenant(tenant =>
{
tenant.AddOrUpdateProperty<string>(
"MyExtraProperty",
property =>
{
//validation rules
property.Attributes.Add(new RequiredAttribute());
property.Attributes.Add(
new StringLengthAttribute(64)
{
MinimumLength = 4
}
);
//...other configurations for this property
}
);
});
});
});
}
Ref: https://docs.abp.io/en/abp/latest/Module-Entity-Extensions
check that your issuer is configured as: issuer: 'https://localhost:44313',
in environment.prod.ts
also be aware that these are local addresses. when you deploy it to prod, you need to set it to your real domain names.