OpenIDConnect Single Sign-on with MS Azure AD

0
Hi all, I have been trying to use the following to integrate with MS Azure AD https://marketplace.mendix.com/link/component/117529 I have managed to set up the OIDC Client Configuration and create an unauthorised home page. Once I have entered my login details, I get redirected to  http://localhost:8080/oauth/v2/callback?code=0.ATEAw1-9y….. Which throws a 500 error…. Can anyone help?    
asked
2 answers
1

Hey Martyn,

In the handleAuthorization flow, put a breakpoint on the REST activity, or the log activity below; check out the latestHttpResponse given by Microsoft there. It seems to me you have received an authorization key that can be redeemed for an access token, but the call to the token endpoint is failing somehow. Microsoft is usually quite clear in the error feedback. I have indicated below where to put the breakpoint;

Then check console right there for the relevant information in the $latestHttpResponse/Content; It could be that your Azure App is not properly set up for token redeeming, etc. This message will tell you what is going wrong. I can help with an app Manifest if need be.

Hope this helps; if it does, please mark this as the correct answer ;-).

Best regards,

Wouter

answered
0

Not the answer you are looking for but a workaround would be to use the SAML connector. Because that one works for sure with MS Azure.

Regards,

Ronald

 

answered