This is Ravi and iam new to osTicket. deployed osTicket 1.17.4 in ubuntu 20.04 with php 8.0. with all plugins. installed oauth2 plugin and followed the instructions from here https://docs.osticket.com/en/latest/OAuth2/Microsoft%20Authentication%20(SSO)%20Guide.html
Admin panel -> Email -> <mymail>@domain.com (office 365 organization mail) -> remote mail box -> Config -> idp config here i have provided neccessary links from azure tenant (which created app registration).
when i am trying to submit iam getting login.microsoftonline.com and given the username and password at the next window, i am getting error. attaching screen shots error & links...

what could i mistaken...
and what should be the Redirect URl: Calllback Endpoint