I created an Identity 4 app server using a template from the documentation. I defined that the database would be initially populated with 2 standard users. However, when I try to login using any of the previously created users, the page is refreshed and nothing happens. So I debugged it and it seems like this section returns null, when it should return the user data.
The code:
var context = await _interaction.GetAuthorizationContextAsync(returnUrl);.
beingin
_interaction dependency injection of IIdentityServerInteractionService returnUrl = "/grants";