Check the docs before asking a question: https://abp.io/docs/latest
Check the samples to see the basic tasks: https://abp.io/docs/latest/samples
The exact solution to your question may have been answered before, and please first use the search on the homepage.
Provide us with the following info:
🧐 Hint: If you are using the ABP Studio, you can see all the information about your solution from the configuration window, which opens when you right-click on the solution and click on the Solution Configuration
button.
Dear ABP Support Team,
We are encountering several issues with the integration of our ABP Commercial application and Keycloak in our project. Here are the specific details of the challenges:
Session Handling and Automatic Authentication Across Applications: Our organization uses a shared Keycloak environment with multiple clients. Two C# applications successfully connect to Keycloak. When logging in to the first application and then opening the second, the second application automatically authenticates thanks to browser's cookies and joins the same Keycloak session. However, our ABP Commercial application, despite proper configuration, does not automatically authenticate using the browser's cookies. Additionally, when manually logging in, the ABP application creates two separate sessions in Keycloak instead of joining the existing session. We would like guidance on: Enabling the ABP application to automatically authenticate if a user is already logged in to another application using the same Keycloak session. Understanding and resolving the issue of two sessions being created for the same client.
Tenant Integration Between ABP and Keycloak: We are implementing multi-tenancy in our ABP application and need to align tenants between ABP and Keycloak. Is it possible to configure ABP to recognize a user's tenant in Keycloak and automatically assign them to the corresponding tenant in ABP upon login? If so, could you provide guidance on achieving this? Your assistance in resolving these issues would be greatly appreciated. If additional configuration details or logs are needed, please let us know.
Thank you for your support.
Best regards, Maxime CABANEL COSOLUCE