It was set to string by mistake, and the proper type is token.Claims.
The bug was in action from 1313dee829ff781f20c6c5614473e2534a88bd30 from February 20 (unreleased, just in the master branch) and resulted in 500 error while calling /config endpoint due to the conversion failure:
[INFO] request panic for /api/v1/config?site=remark42 from *.*.*.*, interface conversion: interface {} is token.Claims, not string
It was set to string by mistake, and the proper type is token.Claims.
The bug was in action from 1313dee829ff781f20c6c5614473e2534a88bd30 from February 20 (unreleased, just in the master branch) and resulted in 500 error while calling
/config
endpoint due to the conversion failure: