Using SS 6.1.0 with the AdminUserFeature. I have 2 custom Credentials, the API and JWT providers loaded. All is fine and working but…there is a glitch in the UI when clicking on the provider button. Going from API to JWT, JWT is not showing correctly. Once JWT is showing correctly, going from JWT to API, API is not showing correctly…here are some screenshots in order going from left to right and then from right to left.
Also, note that the Credentials will use the last Custom Credentials I have defined in my AuthFeature and I think it should only use the default built-in one.
One last thing. For all my roles and permissions, I use an enum but I force it to be Camel case because roles from the token received are case sensitive right?
typeof(SecurityService).AddAttributes(new AuthenticateAttribute(), new RequiredRoleAttribute(PERolesEnum.Admin.ToString().ToCamelCase()));
Works fine but SS is expecting its default Admin role to be in Pascal case. When I use a user with “admin” role and try to use the Admin-UI, it will not work saying " Admin role required"
Is there a way to tell SS to enforce Camel case for this?
Thanks for your support and incredible software!