You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/10/06 10:43:05 UTC

[GitHub] [cordova-plugin-inappbrowser] yaro08 edited a comment on issue #342: Client digital certificate authentication doesn't work

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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org