Hi,
I have managed to configure osTicket 1.17.5 with Oauth2 Client version 0.6
When I login with "Sign in with Azure"
I got proper Microsoft Authentication, request for email then password then confirmation with mobile Microsoft Authenticator app.
After successful login the I'm redirected back to osTicket main page to Sign In again
Im redirected to URL:
https://pomoc.MYDOMAIN.pl/#
But should be:
https://pomoc.MYDOMAIN.pl/scp/index.php
No errors...
Im just not logged in.
I have configured a new App registration in Azure, pulled a secret key, set the Redirect URI based on the information in osTicket, set the URLs in osTicket to the values in Azure.
On Microsoft Azure (entra.microsoft.com) I have configured Web Redirect URIs:
which according to:
https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app
Web:
Enter a Redirect URI for your app. This URI is the location where the Microsoft identity platform redirects a user's client and sends security tokens AFTER authentication.
Configuration was done according to:
https://docs.osticket.com/en/latest/OAuth2/Microsoft%20Authentication%20(SSO)%20Guide.html
What am I missing?
Why after authentication from Microsoft I'm still not logged to osTicket?
My Agent user email is the same as email of my user on Microsoft side.
My Microsoft user has permissions to use "Azure application: osticket"
Update1:
I have tried to change a "Scopes: Comma or Space separated scopes depending on IdP requirements" on plugin setting to: offline_access https://outlook.office.com/Mail.ReadWrite
But still not working