Hi @ismcagdas,
It wasn't there last time I checked. Thanks anyways :)
Hi @alper,
Can you write down the steps here for me? :)
Remember, I want to do this as an already registered tenant admin.
Hi @alper,
Is there any way to switch to different edition/subscription?
Hi,
As a tenant admin, I want to switch to a better edition of app. When I goto Subscription page, I only see 1 edition which is selected by admin while creating the tenant admin account.
How can I choose another edition?
Hi @ismcagdas,
I wanted to associate features with editions. I found this solution :)
new EditionFeatureSetting(globalExpansionEdition.Id, AppFeatures.MaxUserCount, "11")
How can I get instance of EditionManager in DefaultEditionCreator class?
Got it done!
public JwtSecurityToken GetSecurityToken(string token)
{
try
{
var securityKey = new SymmetricSecurityKey(Encoding.Default.GetBytes(_configuration["Authentication:JwtBearer:SecurityKey"]));
var validationParameters =
new TokenValidationParameters
{
ValidIssuer = _configuration["Authentication:JwtBearer:Issuer"],
ValidAudiences = new[] { _configuration["Authentication:JwtBearer:Audience"] },
IssuerSigningKey = securityKey
};
var handler = new JwtSecurityTokenHandler();
handler.ValidateToken(token, validationParameters, out var jwt);
return jwt.As<JwtSecurityToken>();
}
catch (Exception e)
{
Logger.Error(L("TokenDecodingFailed"), e);
throw new UserFriendlyException(L("UnAuthorizedOperation"));
}
}
Hi,
I am integrating AspNetZero Core app with 3rd party app. For Auth, the only option available is to send jwt token to the external service which will return the token back to me after integration.
Now, I need to verify which user made the request. I have the jwt token as a method argument(query string). How can I exchange this token for User object or how can I make sure that this token is generated by my app and has not tampered?
Hi,
Is it possible to do partial impersonation API calls? For example, I am logged in with user A and I want to make HTTP requests as user B without logging in as user B from Administration > Users?
Hi @ismcagdas and @@BBakerMMC,
The build time has drastically reduced from 90 minutes to 15 minutes in the 5.1.1 Dev branch.
Thanks AspNetZero team.