Social Login with Office 365

Hello there!

I am trying to extend my log-in screen in order to let users to check-in using Social Login (for which I have already read the documentation and the Facebook example).
Currently I am working on adding an Office 365 option, but cannot find a guideline on how to properly adapt the Facebook example to this case. Is there any documentation or example I can base from?
In the meantime, I will keep researching in both, CUBA and Office documentation.

My best regards!