
Is there any way to get back from authenticating via OAUTH2 ( https://login.microsoftonline.com/<tenant>/oauth2/token ) the same information and in the same format as the site https://login.microsoftonline.com/extSTS.srf returns it?
I have the need to use oauth2 now but it only returns a token in a string format along with other info and the other site returns the information as XML which I then parse to get what I need. It's not the string formatting that I need help with, it's the fact that it "appears" that the latter site returns information in a triple-DES format and the token one just returns a connection token and nothing else I can use.
Having the OAUTH2 site return the same info as the other one is acceptable too - either way works. What I need is a site that I can use to authenticate a service user tied to a domain that returns the info just like extSTS does.
Not exactly sure what version of Dynamics we have other than it's very recent, it's either CRM 2016 or the online version