Questions tagged [aswebauthenticationsession]
The aswebauthenticationsession tag has no usage guidance.
aswebauthenticationsession
42
questions
0
votes
0
answers
21
views
Universal Links with ASWebAuthenticationSession where prefersEphemeralWebBrowserSession is set to false
I have an iOS app. I want to implement the social login with Notion. Using ASWebAuthenticationSession I could set up the whole flow using prefersEphemeralWebBrowserSession set to true.
This is a bit ...
1
vote
0
answers
78
views
Size of ASWebAuthenticationSession view on mac Safari Extension
I've implemented the ASWebAuthenticationSession forkflow for my macOS Safari extension, as requested by App Store Connect review team. However this opens a window which takes whole screen. How may I ...
0
votes
0
answers
26
views
OAuth2 with ASWebAuthenticationSession on watchOS
Does anyone have an example of OAuth2 working successfully in a watchOS app using the ASWebAuthenticationSession class?
Example with iOS app worked. But the same URL does not work on the watch. ...
0
votes
0
answers
20
views
ASWebAuthenticationSession doesn't load iframe
Intro
I want to integrate a proprietary token provider into the WatchOS app. Communication with this provider happens with custom js SDK.
So generally I have a plan to write my own HTML page to get ...
1
vote
0
answers
84
views
IOS app OAuth with ASWebAuthenticationSession on IOS 17.2 error Code=1 "(null)"
I 'm building an app for my en of study project, and we want to add OAuth to some social networks and google. we have api roots built on our back, and to use this we need ASWebAuthenticationSession.
...
0
votes
0
answers
93
views
Cookie sharing between ASWebAuthenticationSession and Safari (ios)
I'm currently trying to add an OIDC connection to an iOS application. I'm using AppAuth, which will use ASWebAuthenticationSession (because we're targeting recent versions of iOS).
We have a login web ...
1
vote
1
answer
561
views
ASWebAuthenticationSession redirect behavior inconsistent
We have a simple WKWebView for a website with multiple options to log in - Google, Microsoft and DLRG (German Life Saving Association).
To authenticate, the auth url's are opened in a ...
1
vote
1
answer
917
views
Swift - (Strava API) Bad Request, Redirect URI Invalid
I am prompting the user to connect to Strava, and when I open the URL, I am given a page with JSON telling me that it was a bad request, and that my redirect uri was invalid.
{ "message":&...
0
votes
2
answers
816
views
ASWebAuthenticationSession callbackURLScheme won't call completion
I am trying to create a connected account with Stripe, after requesting an account ID from the API it spits out a URL to handle the auth, I am using ASWebAuthenticationSession, it looks like this:
// ...
0
votes
0
answers
128
views
Swift ASWebAuthenticationSession callbackURLScheme not calling completion
I am setting up OAuth for Stripe using Swift/SwiftUI, Firebase, and of course, Stripe. How it works is you make some requests to get the Stripe users account ID, then create another request that spits ...
2
votes
2
answers
482
views
ASWebAuthenticationSession only triggers universal links about 50% of the time
We have an OAuth flow in our application and we're performing the "authorisation step" by opening ASWebAuthenticationSession. When it completes, we parse out the query parameters from the ...
1
vote
1
answer
1k
views
How to close ASWebAuthenticationSession with redirect to external website not to app universal link
I have an authorisation flow that at the end redirects to our API endpoint not to the app universal link like https://api.example.com/redirect not the app://redirect
For now I am able to use WKWebView ...
2
votes
1
answer
979
views
ASWebAuthenticationSession get Cookies
im trying to use ASWebAuthenticationSession to authenticate with a private identity provider.
Authentication with ASWebAuthenticationSession starts
Callback with my custom scheme got called
I need ...
0
votes
1
answer
579
views
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 ...
1
vote
0
answers
439
views
ASWebAuthenticationSession w/ SwiftUI
Recently, I implemented an ASWebAuthenicationSession in my SwiftUI application to handle the OIDC Authentication of my app. My question is: Is it possible to change the size of the Safari login view ...