Hi David,
It looks like the error is complaining about an invalid redirect uri for that call (the error uri has this code in it). I'm not sure why it says unknown tenant on the display of the error, it looks like the server behind the scenes does have the correct tenant.
Can you double-check that the redirect being sent in matched exactly with the way it was registered (same port, no additional path details)?
~ Jenni