Activities of "Repunjay_TASC"

ok maliming,

I have a question that you haven't answered yet: how does POC integration work, and why is my existing code not functioning as expected? Why do I need to change the code flow of my existing code? same poc code implemented in my project .

your team member shared me that POC project his name is "liangshiwei" below ticket url. https://abp.io/support/questions/7788/Custom-Redirection-to-third-party-IdP-Login-Page-and-Dashboard-Post-Authentication-in-ABPIO?CurrentPage=2

hi

1 and 2 make http requests to auth server and redirect to angular(3, 4)

Your angular doesn't get the tokens.

The code flow should return the code to the angular app. and angular will use code to get tokens.

You mean to say i need to call 1 and 2 make http requests from angular ?

This is correct flow:

  1. request to authserver project
  2. authserver check the user and redirect to angular(localhost:4200) with the code
  3. angular use the code to get tokens.

You have to give the code to angular app. this is standard Oauth2 code flow to let the angular get token from authserver.

same code existing application as well, And don't why it's not working.

We are currently facing an unresolved issue with client authentication that has been escalating internally. This problem is impacting our productivity and is also affecting our client, who is waiting for a resolution.

Given the urgency and complexity of the situation, I believe scheduling a meeting would be beneficial. This will allow us to discuss the issue in detail and work towards a swift resolution.

Could you please arrange a meeting at your earliest convenience? Your assistance in this matter would be greatly appreciated

We have a requirement like this, which is why we added the integration on the API side. The same implementation i have done in ABP sample project as well. I have shared the POC project HAR file over email; could you please check it and let me know how the requests are going?

Any update ?

I have shared email please check.

In my POC project, the token API call works fine from the Angular project. However, in the existing application, the token API does not get called when using SSO OIDC login.

Do we need to manually add the token API method to retrieve the token information? In the POC, it was automatically invoked after I redirected the URL. Is the issue occurring because the user is not login in properly using SSO?

below screen shot POC project token API.

ok let me check

Hi ,

I have cross-verified the POC code and my code, and both are the same. I ran the POC project on my local machine, and it worked as expected, successfully redirecting to the dashboard.

The request header also contain the Authorization: bearer *.

<br> Please let me know if this approach will work. We are redirecting to the dashboard URL from the controller. Can we pass the Authorization: Bearer token inside the request? How do we set the Authorization: Bearer before redirecting to the dashboard? We will try this approach, so please advise on how to set the token before the redirect.

Controller.cs

I have shared log over email kindly check and update.

Showing 71 to 80 of 206 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09