How does OSS login work?

I’m trying to create a login using EOS and OSS, however I am unsure how user interface works with the login system. Furthermore, I am unsure how authentication works and the parameters needed by the External UI’s Login function’s Online credentials parameter. If anyone can help me understand, it would be much appreciated.