hi
Sorry for your bad experience.
Can you try to test your app without IIS virtual app directory?
can't login. Swagger breaks. images break.
If you can share details, we will fix this problem asap.
hi
I mean, you can remove the <AuthorizeView
codes.
@if (IsAnyBook)
{
<div class="bg-success w-100 d-flex justify-content-center align-items-center h-100">
<b class="text-dark" style="font-size: 20px;">
Books available
</b>
</div>
}
else
{
<div class="bg-warning w-100 d-flex justify-content-center align-items-center h-100">
<b class="text-dark" style="font-size: 20px;">
No Books
</b>
</div>
}
hi
You can add a custom grant type to get a token in the next request.
see https://abp.io/community/articles/how-to-add-a-custom-grant-type-in-openiddict.-6v0df94z
hi
You can try to inject the ICurrentUser
to check the CurrentUser.IsAuthenticated
@if (CurrentUser.IsAuthenticated)
{
}
And IAuthorizationService
to check the permission.
https://abp.io/docs/latest/framework/ui/blazor/authorization?_redirected=B8ABF606AA1BDF5C629883DF1061649A#iauthorizationservice
hi
https://abp.io/community/articles/implementing-passwordless-authentication-with-asp.net-core-identity-c25l8koj
Please share your RabbitMQ
configuration in appsettins.json
Yes, I have downloaded your logs.
The main problem currently is RabbitMQ
No connection could be made because the target machine actively refused it.
What is your RabbitMQ configuration? Does it need a username and password?
hi
However, once I installed the CHAT source, I am no longer able to login again. This is really buggy.
Can you share the logs?
The logs you have shared show the RabbitMQ error causing the 500 error.
What is your RabbitMQ configuration? Does it need username and password?
RabbitMQ.Client.Exceptions.BrokerUnreachableException: None of the specified endpoints were reachable ---> System.AggregateException: One or more errors occurred. (Connection failed) ---> RabbitMQ.Client.Exceptions.ConnectFailureException: Connection failed ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
We will fix this by https://github.com/abpframework/abp/pull/20454
Your question ticket has been refunded.