hi
The backend error is
System.OperationCanceledException: The operation was canceled.
Which means the browser cancels the request.
Does your angular app use https? is the https certificate valid?
https://localhost:4200/
This issue is occurring only in the local not present development environment. In Dev after redirect URL to dashboard in header missing Tenant-Id and Tenant-Name; let me try to reproduce same issue in local get back to you.
Sorry for late update, I have shared log information and screen shot as well over email please check.
Hi
I have shared log information over email please check.
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.
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 ?
hi
The problem is
Message '{CorrelationCookieName}' cookie not found.
The cookie '{name}' has set 'SameSite=None' and must also set 'Secure'.
by the way, You can check this article https://abp.io/community/articles/patch-for-chrome-login-issue-identityserver4-samesite-cookie-problem-weypwp3n
Hi maliming,
The issue has been resolved; thank you!
Hi,
I wanted to inform you that our microservices are running inside a container and communicate via HTTP. However, the callback URL we provide is formatted as follows:
options.CallbackPath = "/api/oidc/ExternalLoginCallback"
The domain name is automatically picked from the schema settings, resulting in the URL being:
http://{domain}/api/oidc/ExternalLoginCallback
However, the identity provider (IDP) expects the URL to be HTTPS:
https://{domain}/api/oidc/ExternalLoginCallback
Since our microservices are running on HTTP, the schema configuration defaults to the HTTP endpoint. If I forcefully replace HTTP with HTTPS, I encounter a "Correlation failed" error.
You provided a solution, and I would like to know if that will resolve this error, or if we need to implement additional solutions, such as configuring middleware to accept both HTTP and HTTPS requests.
Thank you!
Thanks for update, let me try and get back to you.
Sorry for late reply, I just send logs over email please find.
pls remove above code from chat ; details screen shot have been shared over email, please check.