Open Closed

Tenant-Id and Tenant-Name Not Set in Header After Dashboard Redirect (SSO OIDC) #8132


User avatar
0
Repunjay_TASC created
  • ABP Framework version: 8.0
  • UI Type: Angular
  • Database System: EF Core (PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

We have a requirement where, when a client clicks on our application logo (which is already configured within their application), they should be redirected directly to the IdP's login page instead of the ABP.IO login page. After authentication with the IdP, the user should be redirected to our dashboard.

Using below ABP.IO support ticket i am successfully able to run POC project. Note :- Tenant not set in POC project.

https://abp.io/support/questions/7788/Custom-Redirection-to-third-party-IdP-Login-Page-and-Dashboard-Post-Authentication-in-ABPIO?CurrentPage=2

Error :- After integrating the same code into our existing project, we successfully authenticated with the IDP, added the user to the database, and were redirected to the dashboard. However, after a few seconds, the application automatically redirects to the logout page I have cross check log it's look like tenant not set that's why user not able to login.

For your refence please find below log

We need to set the tenant name and tenant ID headers for the dashboard redirect URL. How can we do this ?


32 Answer(s)
  • User Avatar
    0
    Repunjay_TASC created

    pls check shared information over email.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    https://product.dev.xxxxx.net/assets/js/loadding.js

    The url still does not return js but html page.

    Is there anything special about your server?

  • User Avatar
    0
    Repunjay_TASC created

    URL not working for you ?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    yes, same as https://abp.io/qa/questions/8050/3a157db0-f2c7-3f04-5269-cf463596b0ab

  • User Avatar
    0
    Repunjay_TASC created

    yes, same as https://abp.io/qa/questions/8050/3a157db0-f2c7-3f04-5269-cf463596b0ab

    what is issue ? can you please share screen shot ?

  • User Avatar
    0
    Repunjay_TASC created

    ok got it; might be added some restriction that's why not able to load. Can you pls clear screen shots from chat.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Deleted.

Made with ❤️ on ABP v9.1.0-preview. Updated on October 22, 2024, 09:35