When using JWT Bearer Authentication, it could be necessary to specify the name for the Name and Role claim types.