After configuring OAuth2 for Microsoft getting a error: Invalid response received from Authorization Server expected JSON.
Getting an error after configuring OAuth2
I would assume you didn't follow the documentation correctly:
Cheers.
KevinTheJedi I did follow your directions. Can you point out where we may have gone wrong?
Thomas
I can’t tell without looking at your config. Please censor any sensitive info.
Cheers.
I am getting the same error, "Invalid response received from Authorization Server. Expected JSON."
I have tried multiple variations of the EmailAddress attribute as I am unsure what attribute should be used. Looking at different places in AAD the email appears in "User principal name" and "Email", but I'm not sure if that's the issue here or not.
Any input would be greatly appreciated!
- Best Answerset by thomaso-idelights
Solved by following directions at: https://howtohelpdesk.com/how-to-setup-oauth-on-osticket-using-microsoft-365/
vikingfly Thank you vikingfly! that doc worked for me too.