You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fileprivate static let ClientID = "myid.apps.googleusercontent.com"
fileprivate static let RedirectURI = "https://ab.cdef.gh.ij.lmno" //Having in the form suggested caused an invalid_scheme error (or something like that)
However when auth is finished, is SFSafariViewController supposed to close? If not how would I obtain the code?
Any help is much appreciated, thanks!
The text was updated successfully, but these errors were encountered:
@WillBishop SFSafariViewController is not supposed to close but rather sent to the background as you will be redirect back to the redirectURI after successful authentication. So you're trying to authenticate the user on behalf of another service? Usually you'd provide a custom url scheme for your app which then gets opened automatically upon redirect.
Hello, I was linked to this library by you on another issue I posted.
My problem at the moment is, I am using a third-party API which uses a Google Auth system. When it finished it redirect to a url along the lines of:
https://ab.cdef.gh.ij.lmno?code=dfim34958yjsisnijq0294tj
In my Info.plist I have the following:
And in the Swift file:
However when auth is finished, is SFSafariViewController supposed to close? If not how would I obtain the code?
Any help is much appreciated, thanks!
The text was updated successfully, but these errors were encountered: