SFAuthenticationSession should not show permission alert every single time

Originator:jeremy
Number:rdar://35531221 Date Originated:14-Nov-2017 08:44 AM
Status:Open Resolved:
Product:iOS + SDK Product Version:11.1.1
Classification:UI/Usability Reproducible:Always
 
Summary:
We are implementing Single Sign On in our Mobile app and using SFAuthenticationSession to do the OAuth workflow. This is the main way that users will authenticate to the app.

Every single time we use the API, it shows the alert that says "'App Name' Wants to Use 'domain.com' to Sign In"

Steps to Reproduce:
Use SFAuthenticationSession API.

Expected Results:
Alert that says "'App Name' Wants to Use 'domain.com' to Sign In" will only be shown the FIRST time you use this.

Actual Results:
 "'App Name' Wants to Use 'domain.com' to Sign In"  alert that says "'App Name' Wants to Use 'domain.com' to Sign In" is shown every single time.

Version:
11.1.1

Notes:
This is a very cumbersome user experience for apps that want to delegate their authentication to SSO providers. Maybe it could use some sort of cookie that lasts for a long time. Maybe it could be a toggle in the app preferences.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!