Google sign in not completing in iOS/SwiftHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?Xcode 7 error: “Missing iOS Distribution signing identity for …”This action could not be completed. Try Again (-22421)
How is angular momentum conserved for the orbiting body if the centripetal force disappears?
Is there a strong legal guarantee that the U.S. can give to another country that it won't attack them?
Why does the U.S. tolerate foreign influence from Saudi Arabia and Israel on its domestic policies while not tolerating that from China or Russia?
What explains 9 speed cassettes price differences?
What's the point of having a RAID 1 configuration over incremental backups to a secondary drive?
Are neural networks prone to catastrophic forgetting?
Was I subtly told to resign?
How do you glue a text to a point?
RPI3B+: What are the four components below the HDMI connector called?
Why was hardware diversification an asset for the IBM PC ecosystem?
Should disabled buttons give feedback when clicked?
Is the genetic term "polycistronic" still used in modern biology?
Misspelling my name on my mathematical publications
How to memorize multiple pieces?
How can I truly shut down ssh server?
Why didn't Thanos kill all the Dwarves on Nidavellir?
Where should I connect my modem in this ethernet junction box?
If your plane is out-of-control, why does military training instruct releasing the joystick to neutralize controls?
definition of "percentile"
How to know if blackberries are safe to eat?
Find The One Element In An Array That is Different From The Others
Is there any word for "disobedience to God"?
How can I calculate the sum of 2 random dice out of a 3d6 pool in AnyDice?
Is a request to book a business flight ticket for a graduate student an unreasonable one?
Google sign in not completing in iOS/Swift
How to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?Xcode 7 error: “Missing iOS Distribution signing identity for …”This action could not be completed. Try Again (-22421)
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm baffled. I've got a functional app that has, for some time, been using the CloudRail API to provide Dropbox/Google Drive/OneDrive access. But since CloudRail has been abruptly discontinued, I'm reworking it to use each service directly.
I've got the calling-authentication part working fine. GIDSignIn setup works properly, it seems. I'm using the same credentials I had before, and calling GIDSignIn.sharedInstance()?.signIn() once 123abc.apps.googleusercontents.com has been assigned to clientID opens the Google auth page as expected, with app name, logoing, etc.
I have the com.googleusercontents.apps.123abc URL Type set up in Info.plist as directed by the documentation and, for instance, this example.
But once I tap to accept on the Google auth page, my UIAppDelegate's application(_:open:options:) is never called, and I can't figure out why. The auth page dismisses, but nothing else happens.
Basically I wonder before I tear any more hair out if there's anything (else) on the list of Very Common Mistakes I should be looking for.
(For the record, I've similarly reimplemented my Dropbox auth and access, which uses a similar OAuth2 flow, and it works fine.)
ios swift google-authentication
add a comment |
I'm baffled. I've got a functional app that has, for some time, been using the CloudRail API to provide Dropbox/Google Drive/OneDrive access. But since CloudRail has been abruptly discontinued, I'm reworking it to use each service directly.
I've got the calling-authentication part working fine. GIDSignIn setup works properly, it seems. I'm using the same credentials I had before, and calling GIDSignIn.sharedInstance()?.signIn() once 123abc.apps.googleusercontents.com has been assigned to clientID opens the Google auth page as expected, with app name, logoing, etc.
I have the com.googleusercontents.apps.123abc URL Type set up in Info.plist as directed by the documentation and, for instance, this example.
But once I tap to accept on the Google auth page, my UIAppDelegate's application(_:open:options:) is never called, and I can't figure out why. The auth page dismisses, but nothing else happens.
Basically I wonder before I tear any more hair out if there's anything (else) on the list of Very Common Mistakes I should be looking for.
(For the record, I've similarly reimplemented my Dropbox auth and access, which uses a similar OAuth2 flow, and it works fine.)
ios swift google-authentication
add a comment |
I'm baffled. I've got a functional app that has, for some time, been using the CloudRail API to provide Dropbox/Google Drive/OneDrive access. But since CloudRail has been abruptly discontinued, I'm reworking it to use each service directly.
I've got the calling-authentication part working fine. GIDSignIn setup works properly, it seems. I'm using the same credentials I had before, and calling GIDSignIn.sharedInstance()?.signIn() once 123abc.apps.googleusercontents.com has been assigned to clientID opens the Google auth page as expected, with app name, logoing, etc.
I have the com.googleusercontents.apps.123abc URL Type set up in Info.plist as directed by the documentation and, for instance, this example.
But once I tap to accept on the Google auth page, my UIAppDelegate's application(_:open:options:) is never called, and I can't figure out why. The auth page dismisses, but nothing else happens.
Basically I wonder before I tear any more hair out if there's anything (else) on the list of Very Common Mistakes I should be looking for.
(For the record, I've similarly reimplemented my Dropbox auth and access, which uses a similar OAuth2 flow, and it works fine.)
ios swift google-authentication
I'm baffled. I've got a functional app that has, for some time, been using the CloudRail API to provide Dropbox/Google Drive/OneDrive access. But since CloudRail has been abruptly discontinued, I'm reworking it to use each service directly.
I've got the calling-authentication part working fine. GIDSignIn setup works properly, it seems. I'm using the same credentials I had before, and calling GIDSignIn.sharedInstance()?.signIn() once 123abc.apps.googleusercontents.com has been assigned to clientID opens the Google auth page as expected, with app name, logoing, etc.
I have the com.googleusercontents.apps.123abc URL Type set up in Info.plist as directed by the documentation and, for instance, this example.
But once I tap to accept on the Google auth page, my UIAppDelegate's application(_:open:options:) is never called, and I can't figure out why. The auth page dismisses, but nothing else happens.
Basically I wonder before I tear any more hair out if there's anything (else) on the list of Very Common Mistakes I should be looking for.
(For the record, I've similarly reimplemented my Dropbox auth and access, which uses a similar OAuth2 flow, and it works fine.)
ios swift google-authentication
ios swift google-authentication
edited Mar 26 at 2:17
KT_
asked Mar 26 at 2:07
KT_KT_
4494 silver badges17 bronze badges
4494 silver badges17 bronze badges
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55348857%2fgoogle-sign-in-not-completing-in-ios-swift%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55348857%2fgoogle-sign-in-not-completing-in-ios-swift%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown