Ueberauth social media login on server usage on client

this seems relevant: Oauth2 in Single page applications