Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 83469

JWT - Generating Token

$
0
0
Using the JWT marketplace model, I'm trying to generate the JWT auth bearer token for a REST Service (Target API Authentication - CData Connect Cloud), however an unauthorized error is returned. I updated the JWT object to hold the tokenType payload but was still getting an unauthorized error. I tried updating the iat / exp data type to long and manually setting the values and this resulted in a Java Action datatype error. When hitting the API through postman, I can successfully authenticate since the JWT is handled by postman. I can then grab that token and hardcode it into the Mendix REST Services activity and successfully able to make the call.

Viewing all articles
Browse latest Browse all 83469

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>