How to add facebook oauth authentication to elasticsearch

Hi,
I am looking for a way to add authentiication to elasticsearch through facebook token,i also want to avoid using xpack and proxies in this task.

I think you already asked at Add SSO(single sign on) to elasticsearch without xpack and reverse proxies

You can answer your own question there to make it visible again. I'm closing this one as a duplicate of an already opened question.