CloudFlare Access - Azure The reply URL specified in the request does not match the reply URLs

I created Azure Login Method
in the step 5: Name your application and enter your Cloudflare Authentication Domain. The format of the authentication domain will be…
I used this URL

https://mydomain.com/cdn-cgi/access/callback

I finished my identity provider but I am getting this error message:

Troubleshooting details
If you contact your administrator, send this info to them.
Request Id: 204a8b8c-123123123…
Correlation Id: 3c4a21232132…
Timestamp: 2021-03-25T21:20:11Z
Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: ‘c12312312…’.
Flag sign-in errors for review: Enable flagging
If you plan on getting help for this problem, enable flagging and try to reproduce the error within 20 minutes. Flagged events make diagnostics available and are raised to admin attention.

Can someone help on on this?

Thanks in advance.

I had this same issue but followed these instructions here

Basically you need to change the Redirect URI on Azure to https://your-team-name.cloudflareaccess.com/cdn-cgi/access/callback

1 Like

Hi, thanks for you answer.
That is the steps I followed it but I am getting the issue.
I noticed that there is something wrong with the certificate:

Thanks!