Re:'Log in with ' Feature Allows Full Online Account Takeove...
by vladvasiliu on Thursday October 26, 2023 @09:05AM
(#38024973)
In my case, for apps that only need to authenticate users with AzureAD, I've added the required information to the tokens and called it a day.
I wouldn't bet the farm on it, but I seem to remember that by default, the mozilla-oidc implementation for Django was expecting an userinfo-like endpoint. And I remember wasting an unbelievable amount of time trying to figure how to add information to that endpoint. I've never found anything, I just patched the lib to retrieve the relevant fields from the tokens.
I wouldn't bet the farm on it, but I seem to remember that by default, the mozilla-oidc implementation for Django was expecting an userinfo-like endpoint. And I remember wasting an unbelievable amount of time trying to figure how to add information to that endpoint. I've never found anything, I just patched the lib to retrieve the relevant fields from the tokens.