We have a new ServiceStack 8.7 application using AspNet Identity, configured for PascalCase.
However, the PascalCase breaks the admin-ui, in that it seems to expect a roles
element in the Authenticate
result, but it is getting a Roles
element instead, and thus does not validate that the user has the Admin role.
See screenshot showing the POST Authenticate
response, which contains a Roles property with the Admin role, yet the UI denies access, indicating Admin role required.
I have confirmed that when I remove the code that configures the app to use PascalCase, then the admin ui works as expected. Sadly, due to other business requirements, we need the application to return PascalCase.
Is there a way around this problem?
This should be resolved in the latest v8.7.1 which is now available in the pre-release packages