Reputation: 33
I'm unable to add more than two authorities in route.ts. As I have five USER_ROLE
in my jhi_authority
table.
Upvotes: 0
Views: 66
Reputation: 16284
The syntax you showed in comments is wrong, authorities
expects an array of strings like this :
{
authorities: ['ROLE_DOCTOR', 'ROLE_ADMIN', 'ROLE_PATIENT']
}
Upvotes: 1