android - Getting JSON from Chrome Custom Tab in OAuth -


after googling couple hours have decided ask question.

i working on android project has custom backend. in charge of developing login portion of app. user can sign google/facebook account. when user presses sign google leads them chrome custom tab view. (webview no longer supports oauth ). custom tab view navigates uri on our backend http://xxx-dev/auth/google (xxx anonymity). uri shows google sign in form similar form use when logging g-mail on chrome. in form user can choose account sign into. once user clicks account redirected page api-dev-xxx.com json text show containing accesstoken.

i new type of login flow , have no idea going on. made worse since questions oauth flow done in manner written deprecated webview. question how json text chrome custom tab? methods chrome custom tab client provide? there way tell user has chosen account , shall json? thank you


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -