- ABP Framework version: v7.3.2
- UI Type: Angular
- Database System: EF Core (SQL Server / MongoDB)
- Auth Server Separated (for Angular): yes
Our AuthConfig
looks as follows:
Due to the AuthGuard
on the DefaultRoute
, the user is directly redirected to the login page.
After a successful login, we experience similar behavior to what is already described in this GitHub issue.
The AuthServer
returns a valid token to the app. The app stores the token along with all the other properties from the response. However, the AbpSession
always remains empty.
As soon as the user is redirected back to the website, the AuthGuard
wants to check again if the user is logged in. During this check, it does not find a CurrentUser
, which is why it deletes the valid token again and requests credentials from the AuthServer once more. From that point, the process begins to repeat infinitely.
What are we missing here, and what are we doing wrong? I am available for any further questions.
Thank you for your help :)