Hi @Anonymous , can you try adding this to <Metadata />:
<Item Key="AccessTokenResponseFormat">json</Item>
If this doesn't work please let me know. What document are you following for this? I can look into this further for you.
Best,
James