Activities of "sderzi"

That make sense, let me try that and I’ll let you know

Thanks for the info — here’s the log (I’ve masked the token). It keeps reporting “invalid issuers,” but the iss value is valid and matches the authority, so I’m not sure if there’s some misconfiguration in the wiring. Hoping the attached log helps you point me in the right direction or gives us some leads to investigate.

Log File

Confirmed a JWT token being sent in the Authorization header, but the user is still not authenticated. The following steps were taken to debug and resolve the issue:

  1. Ensured app.UseAuthentication() is called before app.UseAuthorization() and any custom middleware.
  2. Verified the Authority and Audience match the token's iss and aud claims.
  3. Decoded the Token: Inspected the token using jwt.io to confirm its claims are valid.
  4. Logged Authorization Header: Confirmed the token is being sent in the Authorization header.

Despite these efforts, the logs consistently show [Auth Debug] User is not authenticated, indicating the token is not being validated correctly.

Got it — here’s the revised version of the support request with that clarification added:


Subject: 401 on ABP API Using External OpenID Access Token (Works from Browser and Swagger)

Hi Support,

We’re building an ABP-based application (MVC + Razor Pages) that uses Keycloak as an external OpenID Connect authentication provider. Everything works as expected when:

  • Accessing the application via browser (frontend UI)
  • Calling secured APIs via Swagger (with implicit login)
  • Hitting API endpoints directly from the browser (authenticated session)

However, when trying to call the same secured APIs via Postman or an other External applications like Excel using a valid access token (Keycloack is authenticating us OK) issued by Keycloak (Authorization Code flow), we get a 401 Unauthorized.

We’ve verified the following:

  • The aud in the token matches our OpenIddict client in ABP
  • Token includes all expected claims (sub, email, etc.)
  • The token is valid and decodable
  • The same endpoint works fine from the browser

This leads us to believe the ABP middleware may be rejecting the token due to some internal validation or configuration. We would appreciate help understanding:

  1. Where to place breakpoints or log to trace the token validation pipeline in ABP?
  2. Whether additional configuration is required in ABP to allow API calls using access tokens from external OpenID providers like Keycloak?
  3. Any settings or approaches to debug silent failures in authorization?

Our goal is to allow external applications (like Excel or Postman) to call these APIs using a valid token, with the user’s email used for filtering data.

Thanks in advance

  • 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

I continue to have issues with integrating the CMS Kit Pro module into my new Blazor Full-Stack Web App UI generated using ABP Commercial Suite 8.2.

Background: Since there is no Blazor version of the public website, we opted to do away with the public website and integrate the rendering of the CMS content into the ABP Full Stack Web App solution that was generated by ABP Suite.

The first task we tackled was getting the CMS user-generated menus to render as part of the left navigation, and we were able to do that by making changes to the ConfigureMainMenuAsync method. We've added code to AddChildItems, and that appears to be working fine.

Our next task is to do the same for Pages and Blogs, but we are stumped as to where to make these changes and what is the best way to get these custom user-created pages and blogs from the CMS Kit Pro to work. We are hoping this is possible for pages attached to the menu items or accessed through the {slug} URL.

Your guidance is greatly appreciated.

Hi,

So, I got the CMS-Kit Pro module working with source code in my abp webapp blazor solution, but not sure how I render the CMS content (menus, pages, blogs, etc..) in the abp webapp blazor application. The only demo I saw to render content is the CMS public website but it is not compatible with my blazor web app application.

I do not really need a public website, can you provide guidance on how to render CMS content from the CMS-Kit Pro

Thanks for the reply. Your suggestion works, and I'm now able to see the CMS menu and use the included features.

However, I need to get this working with the module source code since we need to make changes to the CMS-Kit Pro module. How can I get this working with the CMS-Kit Pro Module instead of the package?

Hi, thanks for reporting this problem. We successfully identified the problem and will fix it asap. In the meantime, you can add the related CMS Kit Pro package to the Blazor.Client project as well. Btw, I have refunded your ticket.

Regards.

Hi, Thank you for identifying the problem and issuing the refund. I appreciate your prompt response.

I need a bit more clarification regarding the suggested workaround. When you mentioned adding the related CMS Kit Pro package to the Blazor.Client project, which package should I add to get CMS pro working, tried a handful of packages but none worked for me.

Thank you

  • ABP Framework version: v8.2
  • UI Type: Blazor Full-Stack Web App UI
  • Database System: EF Core (SQL Server
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Steps to reproduce the issue:

Hello,

I am experiencing an issue with integrating the CMS Kit Pro module into my new Blazor Full-Stack Web App UI generated using ABP Commercial Suite 8.2.

Steps to Reproduce:

  1. I created a new Blazor Full-Stack Web App UI using the ABP Suite UI.
  2. The application was generated successfully and worked as expected.
  3. I then attempted to add the CMS Kit Pro module via the Commercial Suite UI.
  4. I followed the instructions provided, enabling all the CMS Pro features.
  5. I ran the application.

Observed Behavior:

  • The CMS menu in the left navigation appeared for a split second when I first ran the application but then disappeared.
  • The CMS menu is no longer visible.

Expected Behavior:

  • The CMS menu should be consistently visible in the left navigation after enabling the CMS Kit Pro features.

Additional Information:

  • ABP Commercial Suite Version: 8.2
  • UI Framework: Blazor Full-Stack Web App UI

I would appreciate your assistance in resolving this issue. Please let me know if you need any additional information.

Showing 1 to 9 of 9 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on May 21, 2025, 13:37