Activities of "okains"

Hi,

This seems to be happening on all projects I have created after the 8.2 upgrade. Here is another video of a test solution that is brand new created, 8.2, tiered solution. The same ABP configuration as my last solution for which I shared the last video.

https://drive.google.com/file/d/1Ipi_gjmyuhM0kTfRKXzjLKfttyaW8uEO/view?usp=sharing

I can give you access to this repo if you can give me your GitHub username. I think that will make it easier to troubleshoot.

Thanks,

Karim

Sure, here you go:

https://drive.google.com/file/d/1l1bohNn4z8NCVQVn-HbSQPET_CLUE_wT/view?usp=sharing

This isn't happening due to a refresh, it happens after a few seconds, after the page had loaded. I can recreate it using a refresh, then wait a few seconds and Authenticating... then I lose my Custom Components ( MainHeaderBranding ) and 3rd party control binding.

If this was just the application restarting then I would expect it to then be in an initial state, custom components fine, databound controls etc.

  • ABP Framework version: v8.2.0
  • UI Type: Blazor Web App
  • 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:

This happens every time I load / refresh a page. I can login fine, currently logged in here as admin:

After a few seconds I get this:

And then the page resets. My MainHeaderBranding override gets reset, 3rd party Syncfusion control loses databinding etc.

Any idea how to prevent this from happening?

Thanks,

Karim

Hi, yes this seems to be working now, I was able to Auth and the redirect worked and took me to the Register UI on ABP, which is what I would expect:

Can you summarize the fix / changes so I understand what I was doing wrong?

Thanks!

Hi, yes you can use this user:

abpsupport@gmail.com Notu801201

Or just create an account, everything including the AD Tenant is just for testing / debugging purposes and will be deleted once the problem is resolve.

Thanks,

Karim

Just FYI, my end goal here is to completely bypass the ABP Login / Register UI and just use Entra. I have been looking at this support ticket that you were also involved with that seems to have a lot of the problems already solved :

https://support.abp.io/QA/Questions/5928/How-to-assign-roles-to-Azure-AD-B2C-users

So I think if we can get through this initial configuration I will follow the steps in the above ticket to get to where I want to go.

Understanding that this could be a bit of a tricky implementation, maybe I can write up a Community Article once I get through this. I think many commercial users will want to auth with Entra solely, it is a very appealing use case.

Karim

Hi,

I have this in a barebones single tiered brand new 8.2 project. We also have a React client that is using the same configuration and it is working OK there, so just our ABP config is wrong.

The repo is private, at https://github.com/Flo3Digital/Flo3BlazorDevSingle/ , I have granted you write access. Could you take a look there and see if there is anything you can see that is misconfigured?

Thanks,

Karimi

I think the callback path is OK, you can see here:

I previously added a personal Microsoft account configuration that worked with this redirect URL, everything worked as expected, I could register a new user and / or login with an existing account:

So I don't think it is the Callback path in this case, but maybe something else in the config that is causing ABP to throw this error. I know how OpenId config can be tricky, hopefully we can figure out what is the root cause here.

Thanks,

Karim

Hi, ok that worked , I can now log in as normal with the admin account. However still getting the OAUTH error on the redirect. Can you take a look at the config settings I provided and let me know if there is anything I am doing wrong that would lead to this error :

Thanks,

Karim

Showing 61 to 70 of 134 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 08:30