Error 500 when trying to authenticate through AD FS

Thank you. It was indeed an invalid request. The userdata_url was wrongly set to https://my-adfs-domain/oauth2/userinfo. The correct URL is https://my-adfs-domain/userinfo, as shown in the original post.

But now I’m getting a 403 error. I’ve just created a new post about it.