I am creating apps for iOS and Android. I have reduced the /userinfo to just send back
{
"status" = "OK",
"sub" = "UfyViAIi6lJTA_t-OoENCHrGv15wLyLm_YXj3zXWYds"
}
This works fine with Android, but with iOS the "currentUser" is null and logout or other
actions which need the currentUser are not working.
If I change the /userinfo to
{
"preferred_username" = admin;
sub = dqUU5rLp3EDxwKAMvEjdW9ro1YlhGt9vGvSqzNgMfSE;
}
It works with both OS.
My customer wants to reduce the /userinfo to the first option.