<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 24, 2014 at 9:43 AM, Corinne Krych <span dir="ltr">&lt;<a href="mailto:corinnekrych@gmail.com" target="_blank">corinnekrych@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Guys,<br>
<br>
Erik did some great progress on OAuth2 iOS plugin using external browser approach. Some workarounds are needed for iOS because of Swift based plugin and are documented here:<br>
<a href="https://github.com/edewit/aerogear-oauth2-plugin#workaround-for-ios" target="_blank">https://github.com/edewit/aerogear-oauth2-plugin#workaround-for-ios</a><br>
<br>
As descibed in the readme instruction:<br>
<a href="https://github.com/edewit/aerogear-oauth2-plugin#aerogear-oauth2-cordova" target="_blank">https://github.com/edewit/aerogear-oauth2-plugin#aerogear-oauth2-cordova</a><br>
I think the best approach is to go external browser, one of the main issue with embedded view is that the user stills have to enter credentials in native app. Although it might offer a better UX experience not switching apps, it’s seen as less secure. My preference would be to go external. </blockquote><div><br></div><div>+1 </div><div>I think it makes sense to move our supported native platforms (Android / iOS) to the more secure version, with the external browser - instead of inlining with WebView.</div><div><br></div><div>Glad you bringing it up, Corinne</div><div><br></div><div>-M</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On iOS, the re-enter app is solved using URI schema. The same approach is used fro Cordova plugin, the schema is configured in the config.xml cordova file.<br>
<br>
@summersp @passos do you have plan to move to external browser?<br>
<br>
Erik started working on Oauth2 Android with embedded view, but if we’re planning to move to ext. browser maybe it&#39;s worth putting the plugin implementation on hold untill we got that?<br>
<br>
++<br>
Corinne<br>
—————<br>
AeroGear iOS tech lead<br>
<br>
<br>
_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a></div>
</div></div>