Script URL:
Version of script: 3.4.3
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
AADSTS50011
Write your message below:
Hi,
I try to set up OAuth, according to https://www.hesk.com/knowledgebase/?article=110
My admin page has custom name 'mandel'.
My redirect url is:
https://hesk.mysite.hu/mandel/oauth_providers.php
I did set up that url in Azure, I checked it.
When I try to verify, I get this error:
"AADSTS50011: The redirect URI 'https://hesk.mysite.hu/helpdesk/mandel/ ... viders.php' specified in the request does not match the redirect URIs configured for the application '...'. Make sure the redirect URI sent in the request matches one added to your application in the Azure portal..."
Why I get 'https://hesk.mysite.hu/helpdesk/mandel/ ... viders.php' url in the error message?
Microsoft 365 OAuth error AADSTS50011
Moderator: mkoch227
Re: Microsoft 365 OAuth error AADSTS50011
1. Do you have any redirects set up from https://hesk.mysite.hu/mandel/oauth_providers.php to https://hesk.mysite.hu/helpdesk/mandel/ ... viders.php ?
2. what does the URL say in your browser bar when you are on the Hesk Oauth Providers page?
3. is your "Help desk URL" in Admin panel > Settings > General correct?
2. what does the URL say in your browser bar when you are on the Hesk Oauth Providers page?
3. is your "Help desk URL" in Admin panel > Settings > General correct?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: Microsoft 365 OAuth error AADSTS50011
1. No, I don't.
2. https://hesk.mysite.hu/mandel/oauth_providers.php
3. https://hesk.mysite.hu/helpdesk -> I changed it to https://hesk.mysite.hu and the verification was successful.
Thanks for your help.
2. https://hesk.mysite.hu/mandel/oauth_providers.php
3. https://hesk.mysite.hu/helpdesk -> I changed it to https://hesk.mysite.hu and the verification was successful.
Thanks for your help.