Starts in:
1 DAY
9 HRS
45 MIN
41 SEC
Starts in:
1 D
9 H
45 M
41 S

Activities of "okains"

  • ABP Framework version: v8.2
  • UI Type: Blazor Web App
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Hi,

I am attempting to integrate Entra External ID. This is for an existing Blazor Web App (8.2) tiered project, however I have created a brand new non-tiered project in order to work through the Auth integration. Then I will apply to the existing tiered project.

I have 2 issues, the first and most strange being that as soon as I add the configuration section using Microsoft.Identity.WebApp that allows me to initiate the Entra flow I can not log in using the built in admin credentials.

This is the clean solution, no config for Entra, Admin login working fine:

After adding the config to allow for Entra Login:

I now get the OpenIdConnect button:

However, if I try to log in with the basic admin credentials:

It redirects back , pauses for 2-3 seconds with an ‘ Authorizing’ message, then I get this UI which is not what I would expect after logging in as Admin. No Administration menu, no access to the ‘RockStars’ entity I generated as a test case:

When I click the Logout Button noted above I get back to the Login UI noted above, when I click the OpenIdConnect button I get an invalid OAuth State Error. This is what I get every time I redirect back to <abp>/signin-oidc. Would appreciate it if you could check my config screenshotted above and let me know if there is something missing / wrong that would cause this error:

Main concern is that as soon as I add the external Entra login support I can't seem to log in as normal with the built in admin account. I need to support Entra External ID in all of my future projects so this is critical for my business going forward.

This is a brand new solution that I generated yesterday to debug these issues. I can share this with you on GitHub in order to troubleshoot.

Please let me know if you need any more info.

Thanks,

Karim

OK, I was able to find the files in the .suite folder in my old project, copied them over and everything works fine now. Thanks.

I need the metadata and options that I chose when creating the entities in ABP Suite. I don't want to go backwards and try and create from a db, that will definitely cause problems in a project this size.

There must be a location where this metadata is stored, how else do you load it into ABP Suite? Where can I find this data, so that I can continue working just as I left off.

Thanks,

Karim

  • ABP Framework version: v8.2.0
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server )
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Hi,

I just upgraded an older 8.0 project to the new 8.2 (rc5 at the time). The old project didn't have much UI, but I did have 50+ entities that I had generated code and UI for using ABP Suite. This code I wanted to keep obviously. So, I created a brand new 8.2 project with the same project name ( ESv2 ), in a new folder. Then moved all the old generated code into Domain / Shared / Application Contracts etc. Made other changes in order to get the project to work, and everything is working fined now.

However I would like access to all of my old entities somehow in ABPSuite, so that I can modify / regenerate if need be. Where would this list be stored / located? How would I move this metatdata from the old ESv2 project in ABP Suite to the new ESv2 project?

Here is a screenshot of the new empty ESv2 project :

and the old one, with Entities:

Many Thanks,

Karim

Hi,

Sorry, I had hidden the toolbar previously with some CSS, everything is working as it should now.

Thanks for your help with this, you have been very helpful and patient. Everything is now looking good, I will close the ticket.

Karim

OK I think I have the right control now, however it is not rendering, either in desktop or mobile view. I only want this to show in Mobile anyway, is there somewhere I need to add the tag? If I do add the tag at the top of my MainHeader component it renders, but I need this to render on Mobile at the top of the UI as it should be. Any ideas?

@using Volo.Abp.DependencyInjection @using Volo.Abp.AspNetCore.Mvc.UI.Layout @using Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout.Common

@inherits Breadcrumbs @attribute [ExposeServices(typeof(Breadcrumbs))] @attribute [Dependency(ReplaceServices = true)]

<strong>TESTING</strong>

OK everything is working great now, the last thing is this BreadCrumbs component, I can't seem to override properly. Here is the code and error that I am getting:

Text in case the image isn't clear:

@using Volo.Abp.DependencyInjection @using Volo.Abp.AspNetCore.Mvc.UI.Layout

@inherits BreadCrumb @attribute [ExposeServices(typeof(BreadCrumb))] @attribute [Dependency(ReplaceServices = true)]

<strong>TESTING</strong>

ERROR

Severity Code Description Project File Suppression State Line Error CS0115 'SITOBreadCrumb.BuildRenderTree(RenderTreeBuilder)': no suitable method found to override SITO.Blazor C:\Users\karim\Repos\SITO\SITO\src\SITO.Blazor\Microsoft.CodeAnalysis.Razor.Compiler.SourceGenerators\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Components_ABPOverrides_SITOBreadCrumb_razor.g.cs Active 134

I must be missing something, any idea? If i can get this resolved then ticket closed! Thanks for your help.

Karim

OK, that's what we need there. One other thing I had brought up above, is there any way to override the Mobile Header / Top Bar. Is that in a different component, or is part of this process somehow?

Hi, the Menu button isn't working at all now (neither is settings), it is not pulling up the MobileMenu, which is the area that I want to have control over. As in the original question I need to customize like this:

I looked at another project to see if there is some Javascript code missing or something, but I can't tell. Can we get the menu items working on this sample project, so that I can see the actual MobileMenu show / hide and then figure out how to modify it from there.

Thanks,

Karim

ah sorry about that, they are pushed now. Thanks!

Showing 101 to 110 of 164 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06