Integration of Frappe Social Login Key with Vue JS app

I have integrated a social login key with Office 365, and it works for login into the frappe desk. I am also running a Vue JS app which is connected to this Frappe server and is accesing data. If i want to integrate this Social login into my Vue Js app so that i dont have to login through the frappe portal, How should i proceed?