Version osticket 1.17.5
version plugin OAuth 0.6
I'm getting this error when I try to authenticate Outlook email.
What could it be? It was working until last week.
Email Microsoft setup failure
Sounds like you need to create a new app, reconfigure the information in osTicket, and retry. It says invalid audience which means something isn't configured right.
Cheers.
ok friend, thanks for the answer, I'm going to create a new app, I use this link as documentation
https://docs.osticket.com/en/latest/OAuth2/Microsoft%20Authorization%20Guide.html
I created a new app, configured it, when I saved it, I selected the email and this appears
in Scopes I changed it to offline_access https://outlook.office.com/Mail.ReadWrite until the screen appeared for me to accept, when I accepted it gave the same error
It sounds like when you registered the app you didn't add the Redirect URI properly. Go back through the documentation and follow it step-by-step. Also, Microsoft will not accept Mail.ReadWrite as a scope any longer. You must follow the instructions listed in the ATTENTION notice at the top of this page.
Cheers.
Hello friend, I really hadn't configured the web link, I already configured it, I marked the tokens part, but even so it still gives the error below.
You are still getting "invalid audience" which means something isn't configured correctly.
Cheers.
Is there any tip
that I should review?
- Edited
Well for one you shouldn't be seeing "Email Address Attribute" which means you are not using v1.17.6 nor the latest version of the OAuth2 plugin. First, upgrade the OAuth2 plugin. Next, upgrade osTicket to v1.17.6. Next, update the Scopes to the new scopes, then retry authorization.
Cheers.