How to verify token from redirect URI

%3CLINGO-SUB%20id%3D%22lingo-sub-2139686%22%20slang%3D%22en-US%22%3EHow%20to%20verify%20token%20from%20redirect%20URI%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2139686%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20an%20endpoint%20which%20is%20using%20the%20authorize%20endpoint%20to%20acquire%20an%20%3CEM%3Eid_token%3C%2FEM%3E%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3Ehttps%3A%2F%2Flogin.microsoftonline.com%2F%25s%2Foauth2%2Fv2.0%2Fauthorize%3Fprompt%3Dconsent%2Blogin%26amp%3Bclient_id%3D%25s%26amp%3Bresponse_type%3Did_token%26amp%3Bredirect_uri%3D%25s%26amp%3Bresponse_mode%3Dquery%26amp%3Bscope%3Doffline_access%20user.read%20mail.read%26amp%3Bstate%3D12345%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3BCan%20you%20tell%20me%20how%20can%20I%20verify%20the%20id_token%20in%20the%20%3CEM%3Eredirect_uri%20%3C%2FEM%3Epoint%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2139686%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Senior Member

I have an endpoint which is using the authorize endpoint to acquire an id_token

https://login.microsoftonline.com/%s/oauth2/v2.0/authorize?prompt=consent+login&client_id=%s&response_type=id_token&redirect_uri=%s&response_mode=query&scope=offline_access user.read mail.read&state=12345

 Can you tell me how can I verify the id_token in the redirect_uri point?

1 Reply

Hi @chatzich, Just to confirm are you trying  MSAL authentication to authorize user using Tab in Teams?