I iCAB Well-Known Member Licensed User Longtime User Oct 12, 2019 #1 Hi All We have the following requirement: Invoke a login web page inside a web client. The page has the following controls: User Name Password Login Button After a successful login, the page supposed to return some sort of token, that we must save inside the app for further communication with the corresponding web service. Please note that the app is not allowed to prompt the user for the password. The password must be keyed in directly at the web page. I am wondering if the app can detect the login action/response and extract the returned token (provided that the user logged in successfully). Basically the process is similar to Oauth Thanks in advance iCAB Last edited: Oct 12, 2019
Hi All We have the following requirement: Invoke a login web page inside a web client. The page has the following controls: User Name Password Login Button After a successful login, the page supposed to return some sort of token, that we must save inside the app for further communication with the corresponding web service. Please note that the app is not allowed to prompt the user for the password. The password must be keyed in directly at the web page. I am wondering if the app can detect the login action/response and extract the returned token (provided that the user logged in successfully). Basically the process is similar to Oauth Thanks in advance iCAB
Erel B4X founder Staff member Licensed User Longtime User Oct 12, 2019 #2 iCAB said: I am wondering if the app can detect the login action/response and extract the returned token (provided that the user logged in successfully) Click to expand... Should be possible to extract it from an embedded WebView. The actual details depend on the way the token is returned from the server. Upvote 0
iCAB said: I am wondering if the app can detect the login action/response and extract the returned token (provided that the user logged in successfully) Click to expand... Should be possible to extract it from an embedded WebView. The actual details depend on the way the token is returned from the server.
I iCAB Well-Known Member Licensed User Longtime User Oct 12, 2019 #3 Hi Erel, Any examples on how to do that? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Oct 14, 2019 #4 https://www.b4x.com/android/forum/threads/oauth-2-0-google-web-services-tutorial.14517/#content Upvote 0
I iCAB Well-Known Member Licensed User Longtime User Oct 14, 2019 #5 Thanks Erel, I'll check it Upvote 0