Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does SFAuthenticationSession prompt for consent every time?

I'm using SFAuthenticationSession with SSO and OAuth.

When calling the start() method, iOS pops up a consent dialog asking the user to allow the app to use the OAuth provider. The consent popup appears every time the authentication session is started.

Is this by design? It seems like it should appear once, like other consent dialogs.

like image 312
MDRoz Avatar asked Nov 26 '25 17:11

MDRoz


1 Answers

This is by design yes. There is really nothing you can do to avoid the consent dialog as of now when using SFAuthenticationSession, it's working as Apple wanted it to work. Check out Apple's own documentation on SFAuthenticationSession here

like image 78
Jonathan Arevalo Avatar answered Nov 28 '25 06:11

Jonathan Arevalo



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!