Questions tagged [aswebauthenticationsession]

39 questions
0
votes
1 answer

customizing the size of ASWebAuthenticationSession

I am trying to use ASWebAuthenticationSession in order to comply with Apple's suggestions to do auth in-app instead of by flipping to Safari, but the default dialog that is shown looks a bit small to me, and I would like to make it a bit larger. Is…
Locksleyu
  • 5,192
  • 8
  • 52
  • 77
0
votes
1 answer

How to return to "View Parent" from ASWebAutheticationSession

How to return from the ASWebAutheticationSession completion handler back to the View? Edit: Just for clearance this is not the original code in my project this is extremely shortened and is just for showcasing what I mean. Here's an example of a…
David
  • 149
  • 1
  • 9
0
votes
1 answer

ASWebAuthenticationSession on macOS 12.4 do not work properly

I'm using ASWebAuthenticationSession authorization for my application. It works fine before macOS12.4, but occur unresponse's issue. After "session.start success", Click Cancel or Continue and there is no response. var session =…
0
votes
1 answer

React Native Module | ASWebAuthenticationSession error on swift but not in Objective C

I'm working on a react native library including auth processes, So I chose ASWebAuthenticationSession to do it. My first step for this RN library was to develop natively first(in Swift). And when I started this new library it cames with both…
0
votes
0 answers

ASWebAuthentication services

We use ASWebAuthenticationSession for SSO handling and have set prefersEphemeralWebBrowserSession as false before calling start. But when we try to login with safari, it again asks for password. Do I need to add/configure anything other than setting…
Akilan C B
  • 199
  • 1
  • 9
0
votes
0 answers

Google OAuth 2 Request invalid_request for Native Mac App redirect_uri

I am using ASWebAuthenticationSession to try and authenticate with Google's OAuth 2.0 API in a native Mac app. I registered my app in the Google Developer Console as a Desktop type app like this: I construct my URL like this: func createGmailURL()…
Clifton Labrum
  • 13,053
  • 9
  • 65
  • 128
0
votes
1 answer

Removing the cancel button in ASWebAuthenticationSession WebView

I am using a ASWebAuthenticationSession and want to remove the cancel nav bar button so the user cant close the window (mandatory verification needed to use the app) I cant find a way to achieve this because the ASWebAuthenticationSession webview is…
jwarris91
  • 902
  • 9
  • 24
0
votes
1 answer

Session completion handler not being called for ASWebAuthenticationSession

I am trying to use ASWebAuthenticationSession web view. After the authentication is complete, the session completion handler is not being called. Hence, the web view doesn't dismiss. guard let authURL = URL(string:…
0
votes
1 answer

How to sign-out with SFAuthenticationSession

I use SFAuthenticationSession to sign in with SSO to login.microsoftonline.com. It works completely fine but there is an issue with logging out. SFAuthenticationSession doesn't provide a way to clear cookies. Therefore when I call…
Mobile Developer
  • 5,730
  • 1
  • 39
  • 45
1 2
3