I seem to be getting tripped up testing out JWT and the latest version of XData and Swagger. In previous versions, I could get a JWT from say a login endpoint. I could then click the "Authorize" button at the top of the Swagger UI page, and paste the JWT, including the "Bearer" prefix, but without quotes. Just like this:
Bearer abcxyz....
Currently, doing this seems to generate an error when accessing any endpoint afterwards:
Exception Class: EJSONConversionException
Message: JSON Incompatible type. Expected Int64
If I put it in quotes or leave off the Bearer and the quotes, I don't get an error, but I also don't get anywhere - access is forbidden. I think something changed in Swagger, where they don't want the Bearer prefix, but then XData does, so this isn't working as expected?
I was originally having all kinds of trouble with connecting via a TMS WEB Core application, but I think that is working, so the access forbidden thing doesn't seem to be an issue outside of Swagger.