2020-10-01 05:26:47.365 +00:00 [INF] Request finished in 26.9814ms 302 text/html; charset=utf-8
2020-10-01 05:27:31.955 +00:00 [INF] Request starting HTTP/2.0 POST https://localhost:44393/signin-oidc application/x-www-form-urlencoded 1655
2020-10-01 05:27:32.274 +00:00 [INF] AuthenticationScheme: Identity.External signed in.
2020-10-01 05:27:32.275 +00:00 [INF] Request finished in 320.3263ms 302
2020-10-01 05:27:32.280 +00:00 [INF] Request starting HTTP/2.0 GET https://localhost:44393/?handler=Login
2020-10-01 05:27:32.284 +00:00 [INF] Executing endpoint '/Index'
2020-10-01 05:27:32.286 +00:00 [INF] Route matched with {page = "/Index", action = "", controller = "", area = ""}. Executing page /Index
2020-10-01 05:27:32.286 +00:00 [INF] Executing handler method ****.Web.Pages.IndexModel.OnGet - ModelState is "Valid"
2020-10-01 05:27:32.286 +00:00 [INF] Executed handler method OnGet, returned result .
2020-10-01 05:27:32.286 +00:00 [INF] Executing an implicit handler method - ModelState is "Valid"
2020-10-01 05:27:32.286 +00:00 [INF] Executed an implicit handler method, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult.
2020-10-01 05:27:32.300 +00:00 [DBG] Added bundle 'Lepton.Global' to the page in 1.81 ms.
2020-10-01 05:27:32.303 +00:00 [INF] Authorization failed.
2020-10-01 05:27:32.305 +00:00 [INF] Authorization failed.
2020-10-01 05:27:32.311 +00:00 [DBG] Added bundle 'Lepton.Global' to the page in 4.30 ms.
2020-10-01 05:27:32.312 +00:00 [INF] Executed page /Index in 26.7772ms
2020-10-01 05:27:32.312 +00:00 [INF] Executed endpoint '/Index'
2020-10-01 05:27:32.313 +00:00 [INF] Request finished in 33.0781ms 200 text/html; charset=utf-8
2020-10-01 05:27:32.427 +00:00 [INF] Request starting HTTP/2.0 GET https://localhost:44393/Abp/ApplicationConfigurationScript
2020-10-01 05:27:32.429 +00:00 [INF] Executing endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc)'
2020-10-01 05:27:32.430 +00:00 [INF] Route matched with {area = "Abp", action = "Get", controller = "AbpApplicationConfigurationScript", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Get() on controller Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController (Volo.Abp.AspNetCore.Mvc).
2020-10-01 05:27:32.431 +00:00 [DBG] Executing AbpApplicationConfigurationAppService.GetAsync()...
2020-10-01 05:27:32.433 +00:00 [INF] Request starting HTTP/2.0 GET https://localhost:44393/Abp/ServiceProxyScript
2020-10-01 05:27:32.435 +00:00 [INF] Executing endpoint 'Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc)'
2020-10-01 05:27:32.436 +00:00 [INF] Route matched with {area = "Abp", action = "GetAll", controller = "AbpServiceProxyScript", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult GetAll(Volo.Abp.AspNetCore.Mvc.ProxyScripting.ServiceProxyGenerationModel) on controller Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController (Volo.Abp.AspNetCore.Mvc).
2020-10-01 05:27:32.438 +00:00 [INF] Executing ContentResult with HTTP Response ContentType of application/javascript
2020-10-01 05:27:32.469 +00:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc) in 33.2521ms
2020-10-01 05:27:32.470 +00:00 [INF] Executed endpoint 'Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc)'
2020-10-01 05:27:32.470 +00:00 [INF] Request finished in 37.4282ms 200 application/javascript
2020-10-01 05:27:32.477 +00:00 [INF] Authorization failed.
Redirect to IdentityServer and Enter Credentials:
Not Redirecting to Dashboard and User id not loaded, Returned back to login page
We are using ABP commercial Enterprise license and currently we have update ABP to 3.1.1 but after adding Volo.Saas module there is an wrong namespace added for SaasHostWebModule and SaasTenantWebModule, it actually refered to Tenant class in Domain project, I have resolved this issue by making changes in namespaces.
could you please tell me is this correct way or in next version this issue will get resolved?
System.IO.FileNotFoundException: Could not load file or assembly 'Volo.Abp.AspNetCore.Mvc.UI.Theme.Commercial, Version=3.1.1.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. File name: 'Volo.Abp.AspNetCore.Mvc.UI.Theme.Commercial, Version=3.1.1.0, Culture=neutral, PublicKeyToken=null'
We want make changes in layout pages for that we have added LeptonTheme withsource code, but its giving above error!
All below projects contains an theme reference and there is no error while building solution but project is not getting launch due to above error.
Please help us to resolve this issue.
We are using Enterprise License.
I am using Version 3.1.1
Have you removed Add As Project option from Abp Suite?
We have also tried using abp add-module <module-name> [options] command but its giving me 403 error. I have logged into the abp still i am receiving this error. Any solution on this well?
its happening after updating abp cli and abp suite!
Let us know if there is any alternative! Abp Suite Version 3.1.1
NO, but We tried using the above way and many different ways also, One thing we want to know that we are retireving access token using IdentityServer4 like this angular using OAuthService
return from(this.oAuthService.loadDiscoveryDocument()).pipe(
switchMap((data) =>
from(
this.oAuthService.fetchTokenUsingPasswordFlow(
username,
password,
new HttpHeaders({ ...(tenant && tenant.id && { __tenant: tenant.id }) }),
).then((token)=>{
}
),
),
),
switchMap((data) => this.store.dispatch(new GetAppConfiguration())),
tap((data) => {
const redirectUrl =
snq(() => window.history.state.redirectUrl) || (this.options || {}).redirectUrl || '/';
this.store.dispatch(new Navigate([redirectUrl]));
}),
take(1),
);
Here we get an access token and get access to all backend apis. Can we know how we will be get generate that access token if login using AAD through Oauth Implicit flow? because we are able to login using AAD in angular, generating accesstoken and claims as well but further process is not clear to us.
const tenant = this.store.selectSnapshot(SessionState.getTenant);
this.oAuthService.tokenValidationHandler = new JwksValidationHandler();
this.oAuthService.configure(
this.store.selectSnapshot(ConfigState.getOne('environment')).aadConfig,
);
this.oAuthService.initImplicitFlow('providername=AzureOpenId');
After successful AAD login its redirecting to home controller where we can get accesstoken and claims.
this.oAuthService.tryLogin().then(() => {
let claims = this.oAuthService.getIdentityClaims();
}
But as we know its not authentiing the user from database , its just a successfull microsoft login but not abp login as user is not part of the system.
Please help us in next process!
ABP Framework version: v3.0.5 UI type: Angular Db: MongoDb
We tried Microsoft login (AAD) in Razor Pages UI & Entity Framework Core for Microsoft login and its working fine. We would like to know whether Social login is provided/implemented in Angular-MondoDb template or not because tried it but not able to find it in Angular project. Or Please provide us link/video so we can have a look into it.