yaro08 edited a comment on issue #342:
URL: 
https://github.com/apache/cordova-plugin-inappbrowser/issues/342#issuecomment-704180888


   > Same problem here.
   > 
   > Could you explain how to capture the token of the redirected URL with the 
deeplinks?
   > 
   > Thanks a lot
   
   Hi @Hanzofm you should capture the token with InAppBrowser lifecycle hooks 
(.on() )
   
   In my case, firstly I open inappbrowser with target: _blank (with this 
option browser can't read digital certificates) if user do click on login with 
certificate, I get the new url and close the browser. Next I open a new 
instance of inappbrowser with target: system (now I can read certificates) and 
after user selects the certificate and backend do login I can get the token.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to