ionic-appauth icon indicating copy to clipboard operation
ionic-appauth copied to clipboard

Support ASWebAuthenticationSession (since Ios13)

Open Siedlerchr opened this issue 4 years ago • 3 comments

First of all thanks for the cool library! Works fine so far.

Since ios13 the recommended way to authenticate using a login service on iOS is to to use the ASWebAuthenticationSession There is also a cordova plugin avaiable: https://www.npmjs.com/package/cordova-plugin-ios-aswebauthenticationsession-api

It would be nice if that is supported

Siedlerchr avatar Oct 12 '20 13:10 Siedlerchr

I am struggling to understand what it does, is it a storage system?

wi3land avatar Jul 27 '21 09:07 wi3land

It's a new way to handle authorization windows, .e.g the redireciton to the login page https://developer.apple.com/documentation/authenticationservices/authenticating_a_user_through_a_web_service

Siedlerchr avatar Jul 29 '21 10:07 Siedlerchr

just for knowledge, see description of cordova-plugin-oauth:

"On iOS, this uses ASWebAuthenticationSession (iOS >=12), SFAuthenticationSession (iOS 11), SFSafariViewController (iOS >=8, <=10), falling back to Safari."

lucianojs avatar May 29 '23 18:05 lucianojs