So moving away from the future of web apps towards the dead-end of the closed and controlled Facebook-Internet. That looks scary to me.
But you are right - The big problem we have is that there is no other ID provider that really broke through to force players into an Open Web approach.
I was merely trying to express basically how I felt when I read the sample of code. It does not look like web development any more, just facebook-development.