Activities of "Repunjay_TASC"

I am using below header parameter to get token

  1. You can try using this access token to call your website's API to verify that it is correct.For example:
GET /api/account/my-profile   
    Authorization: Bearer <your token>  

The /api/account/my-profile API is used to retrieve the current user's profile information. However, the user must be present in the database for this API to return valid data.

I am now able to retrieve the user ID and, based on that, fetch user details from the Identity Provider (IDP) and successfully insert them into the database.

However, after calling the /api/account/my-profile API, I am encountering an internal server error. I have shared the request and response details over email. Could you please cross-check whether all the headers in the request are correct? Meanwhile, I will continue investigating the issue internally.

hi

I am encountering an internal server error.

Can you share the error logs of the 500?


The access_token you passed to API is not gotten from ABP. I think API doesn't recognize it.

I received a token from a third-party IDP that one i pass, let me get token from ABP and pass inside this request.

Can you help how to get token from ABP in angular

shared logs over email please check

Hi ,

shared latest log information pls check and let me know.

Yes i am calling gateway api .

this is base method right ?

below API i have call from angular and token pass which is coming from 3rd party IDP.

Which token need to pass this api ? ABP or 3rd party IDP. ?

Yes i am calling gateway api .

this is base method right ?

below API i have call from angular and token pass which is coming from 3rd party IDP.

Which token need to pass this api ? ABP or 3rd party IDP. ?

???

This issue is escalating internally and is creating a bad impression with the client. I’ve been trying to convince the team to set up a call and resolve this. I completed the POC, and it works as expected, but we’re still facing issues with the actual implementation in the project, and the problem remains unresolved.

With this communication, I’m unsure when we will resolve this issue.

As I mentioned earlier, we have an old template with the updated version. Once you review the code, you’ll definitely be able to understand it and resolve the issue. For your information, the modifications we made earlier were done with the support of your team during the call.

hi

Please share a screenshot of your solution structure.

front-end, we’re using Angular, while on the back-end, we’re using microservices. At the database level, we’re using pgAdmin.

I’ve also shared an email with a high-level structure screenshot and the OIDC code that I used on the Angular side. Please review it and let me know your thoughts.

hi

Request starting "HTTP/2" "GET" "https"://"localhost:44359""""/api/account/my-profile""" - null null

https://localhost:44359/api/account/my-profile is just forwarding the request, it is not the real API.
When you see the 500 error, please check the logs of the real API to see the reason.

The current logs are from 1️⃣ or 2️⃣, Check the logs of 3️⃣ (microservice)

If you are unsure, please delete all websites' logs.txt files, reproduce the problem, and share all logs.txt files.

Thanks

Hi , I know it's forward api and it's base method not able to debug as well what ever logs store in log.txt file i shared with you.

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